make/tools/CharsetMapping/DoubleByte-X.java.template

Print this page

        

@@ -52,11 +52,11 @@
         return new  DoubleByte.Decoder$DECTYPE$(this, b2c, b2cSB, $B2MIN$, $B2MAX$);
     }
 
     public CharsetEncoder newEncoder() {
         initc2b();
-        return new DoubleByte.Encoder$ENCTYPE$(this, c2b, c2bIndex);
+        return new DoubleByte.Encoder$ENCTYPE$(this, $ENC_REPLACEMENT$ c2b, c2bIndex); 
     }
 
     $B2C$
     static char[][] b2c = new char[b2cStr.length][];
     static char[] b2cSB;