Different error decoding Shift-JIS sequence in JDK8
Alan Bateman
Alan.Bateman at oracle.com
Fri Nov 22 13:20:43 UTC 2013
On 22/11/2013 11:02, Charles Oliver Nutter wrote:
> Apologies if this is not the correct place to post this, bit i18n
> seemed more focused on languages and localization than the mechanics
> of transcoding.
>
> I have noticed a behavioral difference in JDK8 decoding a two-byte
> Shift-JIS sequence. Specifically, JDK8 appears to report malformed
> input for what should be a valid Shift-JIS sequence, where JDK7
> reported that the character was unmappable.
I assume this is related to JDK-8008386 [1] and I'm sure Sherman or Sean
will jump in to explain this (which seems to be related to a long
standing regression).
-Alan
[1] https://bugs.openjdk.java.net/browse/JDK-8008386
More information about the core-libs-dev
mailing list