You could try: put unidecode(uniencode(tContents,"UTF8"),"english") into tContents where tContents is what you have read from your XML file. Tiemo
> -----Ursprüngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag > von Pascal Lehner > Gesendet: Donnerstag, 13. Juni 2013 14:54 > An: How to use LiveCode > Betreff: XML and Unicode > > 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 > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode