Code page 932 (Microsoft Windows): Difference between revisions

Content deleted Content added
Line 23:
IBM's code page 943 (or "IBM-943") includes the same double byte codes as Windows code page 932.<ref name="ibm932v943" /> Microsoft's version corresponds closely to the encoding referred to as '''ibm-943_P15A-2003''' (with aliases including '''CP943C''' and '''Windows-932''')<ref name="icuwindows31j" /> in [[International Components for Unicode]] (ICU). There is also a second ICU encoding named '''ibm-943_P130-1999''',<ref name="icuibm943" /> which uses different single-byte mappings which more closely match IBM's code page definitions. (See [[#Single-byte character differences|§ Single-byte character differences]] below for details.)
 
Windows code page 932 is registered with the [[Internet Assigned Numbers Authority|IANA]] as '''Windows-31J'''.<ref name="iana31j">{{cite web | url=https://www.iana.org/assignments/character-sets/character-sets.xhtml | publisher=IANA | title=Character Sets}}</ref> The "Windows-31J" label is IANA's and not recognized by Microsoft, which has historically used "shift_jis" instead. The [[W3C]]/[[WHATWG]] encoding standard used by [[HTML5]] matchestreats Windowsthe codelabel page"'''shift_jis'''" 932interchangeably (includingwith "windows-31j" with the "formerlyintent proprietaryof extensionsbeing from"compatible IBMwith anddeployed NECcontent"),<ref>{{cite web | url=https://encoding.spec.whatwg.org/#indexnames-jis0208and-labels | title=54.2. IndexesNames and Index jis0208)labels | publisher=WHATWG | work=Encoding Standard}}</ref> and treatsmatches theWindows labelcode "'''shift_jis'''"page interchangeably932 with "windows-31j" with(including the intent"formerly ofproprietary beingextensions "compatiblefrom withIBM deployedand contentNEC").<ref>{{cite web | url=https://encoding.spec.whatwg.org/#namesindex-and-labelsjis0208 | title=4.25. NamesIndexes and labelsIndex jis0208) | publisher=WHATWG | work=Encoding Standard}}</ref>
 
Windows code page 932 is also called '''MS-Kanji''',<ref name="icuwindows31j" /><ref>{{cite web | url=https://docs.python.org/3.6/library/codecs.html#standard-encodings | title=7.2.3. Standard Encodings | publisher=Python Software Foundation | work=Python 3.6 Documentation | accessdate=19 September 2017}}</ref> although IANA treat MS-Kanji as an alias for standard Shift JIS.<ref name="iana31j"/>