XML and Unicode

Pascal Lehner tate83 at gmail.com
Thu Jun 13 08:54:11 EDT 2013


Hi everyone,

I am working on small tool to convert a specific XML file into several html
pages.
The whole thing looks good and should be working fine eventually. However,
there is one thing I did not figure out yet: Unicode.

My XML is partially french and has a lot of symbols like this:
       <sitename>Personnes du monde rural aux 19ème et 20ème
siècles</sitename>

however, when I read this file into Livecode and take it apart, I get stuff
like this in my variables:

        Personnes du monde rural aux 19ème et 20ème siècles
Can someone help me changin these symols back to their originals
respecitvely I will need them in a html file in the end. I guess that's
some Unicode issue but I am somehow lost when and how to best change the
strings..

Thanks a lot :-)

Pascal

--

Pascal Lehner

147/1 St Leonards Street
Edinburgh
EH8 9RB
United Kingdom



More information about the use-livecode mailing list