Searched refs:SJIS (Results 1 - 6 of 6) sorted by relevance

/openjdk7/jdk/src/share/classes/sun/nio/cs/ext/
H A DSJIS.java39 public class SJIS class in inherits:Charset,HistoricallyNamedCharset
44 public SJIS() { method in class:SJIS
49 return "SJIS";
55 || (cs instanceof SJIS)
146 * We bail here because the JIS -> SJIS algorithm produces
147 * bogus SJIS values for invalid JIS input. Zero should be
153 * This algorithm for converting from JIS to SJIS comes from
H A DPCK.java73 private static class Decoder extends SJIS.Decoder {
101 private static class Encoder extends SJIS.Encoder {
H A DSJIS_0213.java46 * (2)Double-Byte SJIS <-> BMP Unicode
49 * (3)Double-Byte SJIS <-> Supplementary
52 * (4)Double-Byte SJIS <-> Composite
66 || (cs instanceof SJIS)
H A DJISAutoDetect.java59 || (cs instanceof SJIS)
173 // We must choose between EUC and SJIS
182 // If EUC decoding fails, must be SJIS
191 // If SJIS decoding fails, must be EUC
270 // second byte being SJIS or EUC_JP
/openjdk7/jdk/test/sun/nio/cs/
H A DNIOJISAutoDetectTest.java107 String SJIS = SJISName();
109 out.printf("SJIS charset is %s%n", SJIS);
124 // unless there is an ambiguity with SJIS.
134 String ssjis = new String(beucj, SJIS);
136 fail("Autodetection agrees with neither EUC nor SJIS");
153 // JISAutoDetect can handle almost all chars that SJIS can.
155 byte[] bsjis = s.getBytes(SJIS);
156 if (new String(bsjis, SJIS).equals(s)) {
159 "SJIS autodetectio
[all...]
/openjdk7/jdk/test/java/io/pathNames/win32/
H A DSJIS.java34 public class SJIS { class
48 that use the SJIS encoding */
51 if ((enc == null) || !enc.equals("SJIS")) return;

Completed in 26 milliseconds