Hi Pascal, Read the data as binary and convert it.
put url "binfile:folder/file.xml" into myData put uniDecode(uniEncode(myData,"UTF8")) into myData -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 13 jun 2013, at 14:54, Pascal Lehner wrote: > 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