Posted by svenhs on June 29, 2009 at 3:56pm
| Project: | Import / Export API |
| Version: | 6.x-1.x-dev |
| Component: | importexportapi.module |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed (maintainer needs more info) |
Issue Summary
When importing nodes with german letters Ä Ö Ü ß in textfield of nodes, the imported node only consists of all letters written before the german letters. Importing of the rest of the textfield stops.
Comments
#1
What type of file? Can you please attach a sample?
#2
It happens for example if only stories are exported via XML. Don't know if further content types are involved. I guess yes, maybe a problem with the character encoding. All field mappings stay default. I've attached the file.
#3
If you change
<?xml version="1.0"?>in the file to<?xml version="1.0" encoding="UTF-8"?>before importing does it help? It appears the lack of the encoding attribute is the issue.#4
same issue here.
added encoding="UTF-8", but here with me, all data import stops after the first umlaut.
tried it with the users + roles
#5
Changing the encoding to <?xml version="1.0" encoding="UTF-8"?> doesn't help. However I realised that my result isn't really representative. I think testing this with two equal and a brandnew second installations might bring up a completly different result. As far as I tried to set my installations to the equal values and modules etc. it didn't help.
I attached my error messages. Maybe this might help. I'm using the german version of drupal from drupalcenter.de. Despite these error messages the import of the nodes works correct except for the ä ö ü ß as mentioned before. Also the duplicate entries seem not to stop the entry. But probably you'll read more out of the errors.
#6
Have you tried the simpleXML patch I posted?
#7
I have te same problems with xml import in Exel. This time with the following characters:{ ë ï ' ö é ä }.
After replacing these characters with { e i o e a } the xml import is fixed.