Ejemplo n.º 1
0
  static {
    char[] b2cMap = b2c;
    char[] c2bNR = null;
    // remove non-roundtrip entries
    b2cMap = b2cTable.toCharArray();
    b2cMap[165] = UNMAPPABLE_DECODING;

    // non-roundtrip c2b only entries
    c2bNR = new char[2];
    c2bNR[0] = 0x15;
    c2bNR[1] = 0x85;

    SingleByte.initC2B(b2cMap, c2bNR, c2b, c2bIndex);
  }
Ejemplo n.º 2
0
 static {
   char[] b2cMap = b2c;
   char[] c2bNR = null;
   SingleByte.initC2B(b2cMap, c2bNR, c2b, c2bIndex);
 }