Code page 932 (Microsoft Windows): Difference between revisions

Content deleted Content added
No edit summary
Line 17:
Windows-31J includes standard 7-bit [[ASCII]] codes for single-byte sequences with the high bit set to 0. Hence, codes 0x5C and 0x7E are mapped to U+005C REVERSE SOLIDUS (<code>\</code>) and U+007E TILDE (<code>~</code>) respectively,<ref>{{cite web | url=http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP932.TXT | title=CP932.TXT | publisher=Unicode Consortium}}</ref><ref>{{cite web | url=https://msdn.microsoft.com/en-us/library/cc194889.aspx | title=Lead byte NULL — Code page 932 | publisher=Microsoft}}</ref> as they are in ASCII ([[ISO 646|ISO-646]]-US). This is often a source of confusion because in many Japanese fonts, code 0x5C is displayed as a [[JPY|Yen]] symbol, which would normally be represented as U+00A5 YEN SIGN (<code>¥</code>) in Unicode. This stems from the fact that 0x5C is mapped to U+00A5 in [[Code page 895|ISO-646-JP]] and consequently [[JIS X 0201]], of which standard [[Shift JIS]] is an extension. However, code 0x5C in Windows-31J behaves as a reverse solidus (backslash) in all respects (e.g. in [[filename|file paths]] on Windows systems) other than how it is displayed by some fonts.
 
IBM-943, however, like [[Code page 932|IBM-932]], is a superset of [[Code page 897|IBM-897]],<ref name="ibm943"/>, which assigns 0x5C to the Yen symbol (¥) and 0x7E to the [[Macron|Overline]] (¯),<ref>{{cite web | url=ftp://ftp.software.ibm.com/software/globalization/gcoc/attachments/CP00897.txt | title=CP00897.txt | publisher=IBM}}</ref> as in [[JIS X 0201]].
 
==See also==