XMLTools fails validation with UTF-16
-
I have an XML file with a declared encoding of UTF-16. The encoding shown by NPP is
UCS-2 LE BOM
. If I look at the file with a Hex Editor it’s just that: Unicode with BOM at the beginning.However, XMLTools’ validation fails with “Document labelled UTF-16 but has UTF-8 content”
Can anyone explain why a seemingly correct document can’t be validated?
-
Can anyone explain why a seemingly correct document can’t be validated?
It’s called a bug
https://sourceforge.net/p/npp-plugins/bugs/166/
No idea if it has ever been fixed.
-
Ok, I see. Since it is hanging around for three years now, I doubt it ever will be…