18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package sun.nio.cs.ext;
27
28 import java.nio.ByteBuffer;
29 import java.nio.CharBuffer;
30 import java.nio.charset.Charset;
31 import java.nio.charset.CharsetEncoder;
32 import java.nio.charset.CharsetDecoder;
33 import java.nio.charset.CoderResult;
34 import java.security.AccessController;
35 import java.security.PrivilegedAction;
36 import java.util.Arrays;
37 import sun.nio.cs.CharsetMapping;
38
39 /*
40 * 5 types of entry in SJIS_X_0213/Unicode mapping table
41 *
42 * (1)Single-Byte
43 * JIS_X_0213 does not define single-byte character itself, the
44 * JIS_X_0201 entries are added in for sjis implementation.
45 *
46 * (2)Double-Byte SJIS <-> BMP Unicode
47 * ex: 0x8140 U+3000 # IDEOGRAPHIC SPACE
48 *
49 * (3)Double-Byte SJIS <-> Supplementary
50 * ex: 0xFCF0 U+2A61A # <cjk> [2000] [Unicode3.1]
51 *
52 * (4)Double-Byte SJIS <-> Composite
53 * ex: 0x83F6 U+31F7+309A # [2000]
54 *
55 * (5)"Windows-only" special mapping entries
56 * are handled by MS932_0213.
57 */
|
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package sun.nio.cs.ext;
27
28 import java.nio.ByteBuffer;
29 import java.nio.CharBuffer;
30 import java.nio.charset.Charset;
31 import java.nio.charset.CharsetEncoder;
32 import java.nio.charset.CharsetDecoder;
33 import java.nio.charset.CoderResult;
34 import java.security.AccessController;
35 import java.security.PrivilegedAction;
36 import java.util.Arrays;
37 import sun.nio.cs.CharsetMapping;
38 import sun.nio.cs.*;
39
40 /*
41 * 5 types of entry in SJIS_X_0213/Unicode mapping table
42 *
43 * (1)Single-Byte
44 * JIS_X_0213 does not define single-byte character itself, the
45 * JIS_X_0201 entries are added in for sjis implementation.
46 *
47 * (2)Double-Byte SJIS <-> BMP Unicode
48 * ex: 0x8140 U+3000 # IDEOGRAPHIC SPACE
49 *
50 * (3)Double-Byte SJIS <-> Supplementary
51 * ex: 0xFCF0 U+2A61A # <cjk> [2000] [Unicode3.1]
52 *
53 * (4)Double-Byte SJIS <-> Composite
54 * ex: 0x83F6 U+31F7+309A # [2000]
55 *
56 * (5)"Windows-only" special mapping entries
57 * are handled by MS932_0213.
58 */
|