Xav, it looks like the ValueResourceParser2 reads in files like this:
stream = new BufferedInputStream(new FileInputStream(file));
InputSource is = new InputSource(stream);
...
return builder.parse(is);
Note that it constructs the input stream and XML input source without specifying a UTF-8 encoding.
The above is correct when you want to actually pick up encodings from the XML file itself, since the XML prolog can specify an encoding, so the XML parser expects to get a raw bytestream and to do its own encoding handling.
However, we really discourage users from using custom or default platform encodings, and lint will complain about any XML files it finds without UTF-8 encoding.
Perhaps we should just read in the XML as UTF-8 characters instead -- and maybe we can have the XML parser abort / retry if it encounters an actual encoding pragma?
In the meantime, Seth -- can you see whether your XML files start with an encoding prolog, and if not, try putting this at the top of your files (or at least the ones containing the character entities) :
<?xml version="1.0" encoding="utf-8"?>