Hello,
I am using BaseX to scan XML files, and most files are using implicitely the ISO-8859-15 encoding. Unfortunately, it seems that the internal XML parser is using by default UTF-8 encoding. This doesn't seem to be specified in the configuration files, or GUI properties.
Is there a way to force the internal parser to use another encoding?
Many thanks,
Guillaume
Dear Guillaume,
if a document contains no XML declaration, the XML specification assumes UTF8 as default encoding, which is why is documents with another encoding will be declared as non-wellformed. As there is no possibility of overriding this default, you'll have to convert your documents in advance, or add an appropriate XML declaration.
Sorry for that, Christian ___________________________
On Wed, May 9, 2012 at 3:40 PM, Guillaume Perchais guillaume.perchais@gmail.com wrote:
Hello,
I am using BaseX to scan XML files, and most files are using implicitely the ISO-8859-15 encoding. Unfortunately, it seems that the internal XML parser is using by default UTF-8 encoding. This doesn't seem to be specified in the configuration files, or GUI properties.
Is there a way to force the internal parser to use another encoding?
Many thanks,
Guillaume
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
basex-talk@mailman.uni-konstanz.de