Jump to content

Importing stuff like Dìvíñésñòw?


Andieuk

Recommended Posts

Hi there,  I'm have some problems with those damn extended character. In my data to be imported XML <name>Dìvíñésñòw</name> looks like this but when the <name> tag is imported using simpleXML it turns in to this Dìvà ñésñòw, I'm guessing some form of conversion is needed the XML imports fine I just have this problem I would like the original data to be in my DB as is Dìvíñésñòw.

I believe that XML only supports UTF-8 charsets. This means that either everything else has to be utf-8 as well, or you have to change the encoding somewhere along the way.

 

You didn't really say exactly what you were doing with the xml data - is it just going directly into the database? Are you outputting it into a page first? Are you doing anything with it?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.