revXML and UTF8

jbv at souslelogo.com jbv at souslelogo.com
Mon Apr 10 04:07:57 EDT 2023


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



More information about the use-livecode mailing list