ComposeXML
Posted: Fri Nov 27, 2015 3:56 pm
Code: Select all
CreateXML(0, #PB_UTF8)
Debug ComposeXML(0)Why UTF-16?<?xml version="1.0" encoding="UTF-16"?>
Must be UTF-8.
Code: Select all
CreateXML(0, #PB_UTF8)
Debug ComposeXML(0)Why UTF-16?<?xml version="1.0" encoding="UTF-16"?>
Code: Select all
CreateXML(0, #PB_Ascii)
Debug ComposeXML(0)When i deactivate unicode in the compiler settings i always get ISO-8859-1:PB-Debugger wrote:<?xml version="1.0" encoding="UTF-16"?>
Greetings ... PeterPB-Debugger wrote:<?xml version="1.0" encoding="ISO-8859-1"?>
The XML will be returned in the string format of the executable (Ascii or Unicode) independent of the setting returned by GetXMLEncoding(). The ExportXML() function can be used to create markup in a different encoding.