Are you sending encoded data to libXML and then decoding the data you pull out?
In the first bug report in the thread, if you textDecode the output from libXML then it renders with the smart quote. I recall this topic coming up before but I don’t mess with XML and can’t recall more details on it (could have been in the forum too). Brian Milby [email protected] > On Apr 10, 2023, at 4:09 AM, jbv via use-livecode > <[email protected]> wrote: > > Hi list, > > I have an xml file with lots of non-western characters > (greek, arabic, japanese...). I need to convert these > data into sql requests to insert into a DB. > For each node, I need to pick only some attributes, so > I wrote a script that : > - opens the file as utf8 > - processes each node > - writes a file as utf8 with the processed data. > > My problem is that all non-western characters appear as > ???? in the final file. > Should I use unidecode for each revXMLNodeContents ? > What am I missing ? > > Thank you in advance. > jbv > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
