Codereview request for 7082884: Incorrect UTF8 conversion for sequence ED 31

Ulf Zibis Ulf.Zibis at gmx.de
Wed Sep 28 22:14:11 UTC 2011


Am 19.09.2011 22:21, schrieb Xueming Shen:
>
> The current implementation decode
>
> new String(new byte[]{(byte)0xed, 31}, "UTF8")

Bug 7082884 refers to ED 31, so it should be:

     new String(new byte[]{(byte)0xed, 0x31}, "UTF8")

-Ulf




More information about the core-libs-dev mailing list