make/data/charsetmapping/DoubleByte-X.java.template

Print this page

        

*** 48,63 **** $CONTAINS$ } public CharsetDecoder newDecoder() { initb2c(); ! return new DoubleByte.Decoder$DECTYPE$(this, b2c, b2cSB, $B2MIN$, $B2MAX$); } public CharsetEncoder newEncoder() { initc2b(); ! return new DoubleByte.Encoder$ENCTYPE$(this, $ENC_REPLACEMENT$ c2b, c2bIndex); } $B2C$ static char[][] b2c = new char[b2cStr.length][]; static char[] b2cSB; --- 48,63 ---- $CONTAINS$ } public CharsetDecoder newDecoder() { initb2c(); ! return new DoubleByte.Decoder$DECTYPE$(this, b2c, b2cSB, $B2MIN$, $B2MAX$, $ASCIICOMPATIBLE$); } public CharsetEncoder newEncoder() { initc2b(); ! return new DoubleByte.Encoder$ENCTYPE$(this, $ENC_REPLACEMENT$ c2b, c2bIndex, $ASCIICOMPATIBLE$); } $B2C$ static char[][] b2c = new char[b2cStr.length][]; static char[] b2cSB;