HP-UX 11.0 - 11i Internationalization Features White Paper
Encoding Characters
Converting Between Encodings
Chapter 2
40
NOTE JIS X0221 is the Japanese national standard equivalent to ISO-10646:1993 and
Unicode 2.1.
These tables convert between HP’s EUC and Shift-JIS (SJIS) characters to those specified by the strict
JIS X0201 interpretation as well as the Microsoft Unicode and UTF-8 mappings. The JIS X0221
Extended conversion mappings are already supported within HP-UX. These new converters require
0.6 MB of additional space.
Table 2-26 shows eight new iconv converter tables that are provided to support the alternate mappings
in round-trip conversions between EUC and Shift-JIS (SJIS) to /from Unicode and UTF-8.
Table 2-27 illustrates the mapping variances between converter tables when converting between SJIS
and different interpretations of Unicode character mappings.
NOTE The JIS X0201 Extended (Unix) mappings are already available on HP-UX, referenced in
this table as SJIS.
Table 2-26 New iconv Converters
Conversion Interpretation
eucJP0201 <-> ucs2 JIS X0201
eucJPMS <-> ucs2 Microsoft
sjis0201 <-> ucs2 JIS X0201
sjisMS <-> ucs2 Microsoft
Table 2-27 Mapping Variances Between SJIS and Unicode Mappings
SJIS sjis0201 UCS2 mapping SJIS UCS2 mapping sjisMS UCS2 mapping
0x5C 0x00A5 0x005C 0x005C
0x7E 0x203E 0x007E 0x007E
0x8150 0xFFE3 0x203E 0xFFE3
0x815F 0x005C 0xFF3C 0xFF3C
0x818F 0xFFE5 0x00A5 0xFFE5
0x815C 0x2014 0x2014 0x2015
0x8160 0x301C 0x301C 0xFF5E
0x8161 0x2016 0x2016 0x2225
0x817C 0x2212 0x2212 0xFF0D
0x8191 0x00A2 0x00A2 0xFFE0
0x8192 0x00A3 0x00A3 0xFFE1
0x81CA 0x00AC 0x00AC 0xFFE2