PDA

View Full Version : How to display UTF-8 encoded charachers


ryan
12-16-2003, 06:43 PM
<?xml version="1.0" encoding="UTF-8"?>
<phonebook>
<contact firstName="John" lastName="Žj–§Žz" phone="617-536-7855"
email="jsmith@mail.com"/>
<contact firstName="Lisa" lastName="Jones" phone="415-225-8743"
email="ljones@mail.com"/>
<contact firstName="Mary" lastName="Brown" phone="212-665-5211"
email="mbrown@mail.com"/>
</phonebook>

In this phonebook.xml I use some Chinese words and encoded in UTF-8 but it seems don't works, so how can I do?

antun
12-16-2003, 06:52 PM
Right now the LPS does not support Unicode. It is planned, but I don't know when it will be implemented.

You could have a script on the server pre-parse the XML data and strip out the unicode characters, if they are causing a problem.

Take care,

Antun

dannyr
12-17-2003, 12:16 AM
very sorrw for this!