Importing of Ä Ö Ü ß not possible

svenhs - June 29, 2009 - 15:56
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)
Description

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.

#1

earnie - June 29, 2009 - 16:51
Status:active» postponed (maintainer needs more info)

What type of file? Can you please attach a sample?

#2

svenhs - June 29, 2009 - 18:59

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.

AttachmentSize
node_data.xml_.txt 6.74 KB

#3

earnie - June 29, 2009 - 20:21

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

bernadotte - June 29, 2009 - 22:30

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

svenhs - June 30, 2009 - 09:46

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.

AttachmentSize
error.txt 3.22 KB

#6

cha0s - July 7, 2009 - 17:49

Have you tried the simpleXML patch I posted?

 
 

Drupal is a registered trademark of Dries Buytaert.