We encounter problems caused by the error described here: http://bugs.sun.com/view_bug.do?bug_id=6183404
I have already applied the fix, using a special encoding to fix incorrect mappings. However, this does not fix the problem for the single Java application that we use, as it is hardcoded to use the standard "GBK" encoding.
Can I use java.nio.charset.spi.CharsetProviderto override existing standard encodings?
java.nio.charset.spi.CharsetProvider
Charset, , Provider, .
Charset
if ((cs = standardProvider.charsetForName(charsetName)) != null || (cs = lookupExtendedCharset(charsetName)) != null || (cs = lookupViaProviders(charsetName)) != null)
, - , .