Gossamer Forum
Quote Reply
encoding
Hi,

I'm reading in xml data into my database which is encoded using utf-8. When this is displayed on my pages some characters are not displayed how I would like - eg £ is displayed as £. I know that one solution is to change my pages to utf-8 encoding - however, this means that a lot of other characters are then displayed as question marks. I could do a global search and replace on the relevant columns in the database to display these characters correctly.

However, if I do this, when anyone else adds a link or review to my database and uses any of the relevant characters, any text files - such as emails - will display them strangely. I would like to know whether anyone has any suggestions for the best way to handle this? Is there an easy way to make the conversion from utf-8 encoding when I insert the xml entries into the database?

Thanks, Laura.
Subject Author Views Date
Thread encoding afinlr 2152 Apr 24, 2003, 6:20 AM
Post Re: [afinlr] encoding
webmaster33 2105 Apr 24, 2003, 10:33 AM
Thread Re: [afinlr] encoding
afinlr 2089 Apr 25, 2003, 3:01 PM
Post Re: [afinlr] encoding
el noe 2039 Nov 4, 2003, 4:57 AM