SetXMLEncoding()
Syntax
SetXMLEncoding(#XML, Encoding)Description
Changes the text encoding used for exporting/saving the given XML tree. Encoding can be either #PB_Ascii, #PB_Unicode (= UTF16) or #PB_UTF8.
Note: This only affects the exporting/saving" of the tree. The data in the #XML object is always stored in the PB string format (Ascii or Unicode depending on the compiler option). So a unicode executable can safely change the encoding to #PB_Ascii for saving and then back to something else without loosing any information in the tree in memory.
Supported OS
All