equal
deleted
inserted
replaced
46 public boolean contains(Charset cs) { |
46 public boolean contains(Charset cs) { |
47 $CONTAINS$; |
47 $CONTAINS$; |
48 } |
48 } |
49 |
49 |
50 public CharsetDecoder newDecoder() { |
50 public CharsetDecoder newDecoder() { |
51 return new SingleByte.Decoder(this, b2c); |
51 return new SingleByte.Decoder(this, b2c, $ASCIICOMPATIBLE$); |
52 } |
52 } |
53 |
53 |
54 public CharsetEncoder newEncoder() { |
54 public CharsetEncoder newEncoder() { |
55 return new SingleByte.Encoder(this, c2b, c2bIndex); |
55 return new SingleByte.Encoder(this, c2b, c2bIndex, $ASCIICOMPATIBLE$); |
56 } |
56 } |
57 |
57 |
58 private final static String b2cTable = $B2CTABLE$ |
58 private final static String b2cTable = $B2CTABLE$ |
59 |
59 |
60 private final static char[] b2c = b2cTable.toCharArray(); |
60 private final static char[] b2c = b2cTable.toCharArray(); |