< prev index next >

src/share/classes/sun/nio/cs/ext/GB18030.java

Print this page
rev 13451 : 8211382: ISO2022JP and GB18030 NIO converter issues
Reviewed-by: sherman, rriggs

*** 12516,12526 **** dst.put((char)(offset + 0x5543)); else if (offset >= 0x82BD && offset <= 0x830D) dst.put(getChar(offset)); else if (offset >= 0x830D && offset <= 0x93A8) dst.put((char)(offset + 0x6557)); ! else if (offset >= 0x93A9 && offset <= 0x99F9) dst.put(getChar(offset)); // Supplemental UCS planes handled via surrogates else if (offset >= 0x2E248 && offset < 0x12E248) { if (offset >= 0x12E248) return CoderResult.malformedForLength(4); --- 12516,12526 ---- dst.put((char)(offset + 0x5543)); else if (offset >= 0x82BD && offset <= 0x830D) dst.put(getChar(offset)); else if (offset >= 0x830D && offset <= 0x93A8) dst.put((char)(offset + 0x6557)); ! else if (offset >= 0x93A9 && offset <= 0x99FB) dst.put(getChar(offset)); // Supplemental UCS planes handled via surrogates else if (offset >= 0x2E248 && offset < 0x12E248) { if (offset >= 0x12E248) return CoderResult.malformedForLength(4);
< prev index next >