Jump to content

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?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.