Lines Matching refs:oldCS
172 static char[] checkEncoding(Charset oldCS, Charset newCS)
174 System.out.printf("Encoding <%s> <%s>...%n", oldCS.name(), newCS.name());
175 CharsetEncoder encOLD = oldCS.newEncoder();
179 boolean is970 = "x-IBM970-Old".equals(oldCS.name());
194 byte[] bb = new String(new char[] {c}).getBytes(oldCS);
201 printEntry(c, oldCS);
205 byte[] bbOld = new String(new char[] {c}).getBytes(oldCS);
210 printEntry(c, oldCS);
213 String sOld = new String(bbOld, oldCS);
218 printEntry(sOld.charAt(0), oldCS);
231 static void checkDecoding(Charset oldCS, Charset newCS)
234 System.out.printf("Decoding <%s> <%s>...%n", oldCS.name(), newCS.name());
235 boolean isEBCDIC = oldCS.name().startsWith("x-IBM93");
242 String sOld = new String(bb, oldCS);
260 String sOld = new String(bb, oldCS);
283 String sOld = new String(bb, oldCS);