When creating iScripts that modify data that contains Unicode characters, you can include parameters that enable XML files to be read or written in ANSI or UTF-8 formats. The optional parameters are:
For UTF-8 encoding:
- XML.toFile(xml, 1, xmlFile,"UTF-8");
- XML.fromFile(xmlFile,1,"UTF-8")
For ANSI encoding:
- XML.toFile(xml, 1, xmlFile,"UTF-8");
- XML.fromFile(xmlFile,1,"UTF-8")