XML Encoding in PrimalXML
Posted: Tue Aug 18, 2015 9:33 am
Is it possible to change and/or specify the default XML Encoding in PrimalXML?
We would like to have "UTF-8" as the default XML Encoding in PrimalXML.
After multiple tries, it seems the default XML Encoding in PrimalXML version 2012 (build 3.0.17) and in version 2014 (build 4.0.31) is "Unicode". In the version 2015 (build 4.1.37), it is "AINSI".
We tried to "force" the XML Encoding by adding the element <test>àéèëêîôûù ÀÉÈËÊÎÔÛÙ</test> to our file, but the Encoding of our file remains "Unicode" in the version 2012 and 2014 of PrimalXML.
In the version 2015 though, it does save the file with the "UTF-8" encoding.
We tried to specify the encoding in the header of version 2012 and 2014 with the string <?xml version="1.0" encoding="UTF-8"?>, but the XML Encoding remains "Unicode" in both version 2012 and 2014.
We did our tests in Windows 7 32 bits and 64 bits, same results.
In the end, is it possible to change and/or specify the default XML Encoding in PrimalXML as "UTF-8"?
Thank you for your help.
We would like to have "UTF-8" as the default XML Encoding in PrimalXML.
After multiple tries, it seems the default XML Encoding in PrimalXML version 2012 (build 3.0.17) and in version 2014 (build 4.0.31) is "Unicode". In the version 2015 (build 4.1.37), it is "AINSI".
We tried to "force" the XML Encoding by adding the element <test>àéèëêîôûù ÀÉÈËÊÎÔÛÙ</test> to our file, but the Encoding of our file remains "Unicode" in the version 2012 and 2014 of PrimalXML.
In the version 2015 though, it does save the file with the "UTF-8" encoding.
We tried to specify the encoding in the header of version 2012 and 2014 with the string <?xml version="1.0" encoding="UTF-8"?>, but the XML Encoding remains "Unicode" in both version 2012 and 2014.
We did our tests in Windows 7 32 bits and 64 bits, same results.
In the end, is it possible to change and/or specify the default XML Encoding in PrimalXML as "UTF-8"?
Thank you for your help.