Microsoft KB Archive/286776

= Mapping Differences Between JIS X 0221 and Code Page 932 =

PSS ID Number: 286776

Article Last Modified on 12/4/2003

-

The information in this article applies to:


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional
 * Microsoft Windows 2000 Datacenter Server

-



This article was previously published under Q286776



SUMMARY
Windows 2000 supports JIS X 0221-1995 (the Japanese Industrial Standard for ISO/IEC 10646-1:1993) and six Japanese sub-repertoires, all of which are specified in a normative annex of the standard and are fully available with Unicode encoding.

However, if you run a program that requires the conversion of text between ANSI character encoding and Unicode, you might encounter a problem in obtaining ANSI characters because of a slight mapping difference between Windows code page 932 (Japanese Shift-JIS) and the mapping that is suggested in JIS X 0221 (non-normative) with respect to symbols.



MORE INFORMATION
For example, the following Unicode code points are not converted to code page 932, and are converted to a question mark (?) instead:

Unicode                             Shift-JIS -- U+2014 (em dash)              --->  X'3F' U+301C (wave dash)            --->  X'3F' U+2016 (double vertical line) --->  X'3F' U+2212 (minus sign)           --->  X'3F'

Note that Windows 2000 supports the following mapping with code page 932:

Unicode                          Shift-JIS --- U+2015 (horizontal bar)    --->  X'815C' U+FF5E (full-width tilde)  --->  X'8160' U+2225 (parallel to)       --->  X'8161' U+FF0D (full-width hyphen) --->  X'817C'

For a complete table of the mapping between code page 932 and Unicode, see the following Microsoft Web site:

http://www.microsoft.com/globaldev/reference/dbcs/932.htm

Keywords: kbenv kbinfo KB286776

Technology: kbwin2000AdvServ kbwin2000AdvServSearch kbwin2000DataServ kbwin2000DataServSearch kbwin2000Pro kbwin2000ProSearch kbwin2000Search kbwin2000Serv kbwin2000ServSearch kbWinAdvServSearch kbWinDataServSearch

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© 2004 Microsoft Corporation. All rights reserved.