Changes the text encoding used for exporting/saving the given XML tree.
#XML The XML to use. Encoding It can be one of the following values:#PB_Ascii #PB_Unicode (UTF16) #PB_UTF8This only affects the exporting/saving of the tree. The data in the #XML object is always stored in the PB string format (unicode). The encoding can be safely changed to #PB_Ascii for saving and then back to something else without loosing any information in the tree in memory.
ExportXML(), SaveXML(), GetXMLEncoding()