Optional Parameters for XML Files - Optional Parameters for XML Files - Perceptive Content - Unicode - Perceptive-Content/Unicode/Foundation-24.1/Unicode/Perceptive-Content-Unicode-Functionality/Settings-for-iScript-Agents-and-XML-Files/Optional-Parameters-for-XML-Files - Foundation 24.1 - Foundation 24.1

Unicode

Platform
Perceptive Content
Product
Unicode
Release
Foundation 24.1
License
ft:lastPublication
2024-04-02T13:38:57.399000
ft:locale
en-US

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")