Shift_JIS と x-sjis

主要ブラウザは x-sjis を認識するので通常は問題がない場合が多いので相変わらず使い続けている状況。
しかし x-sjis は IANA では認められていないので、IANA に登録されている Shift_JIS を使うべきで、さもなければ同じく IANA に登録されている MS Kanji を使うべき。

「x-sjis」と「MS_Kanji」

「x-sjis」と「MS_Kanji」はともに、HTMLドキュメントの「charset」の指定に「Shift_JIS」の別名として使うことが出来る。

「x-sjis」はIANAに「Shift_JIS」という名前を登録する前に、Netscape Navigator 2.0において使っていたエンコーディングの指定子名である。一部のHTML生成ソフトが自動でこの指定子を組み込んで使っている。そのため認識可能なブラウザがあるが、「Shift_JIS」に書き換えることを推奨している

「MS_Kanji」はIANAにより「Shift_JIS」の別名として割り当てられている。

出典: フリー百科事典『ウィキペディア(Wikipedia)

以下は IANA のページ。x-sjis の記述はどこにもありません。

Contact Name :
Shawn Steele

Contact Email :
shawnste&microsoft.com

Type of Assignment :
update to the shift_jis charset registration

Registry :
charset

Description :
Clarifying some of the in-practice behavioral differences of shift_jis
and its windows-31J variant. This has been reviewed by ietf-charsets for
the 2 week period.

Additional Info :
Charset name: Shift_JIS

MIBenum: 17

Charset aliases: MS_Kanji and csShiftJIS

Suitability for use in MIME text:
This charset can be used for the top-level media type “text”.
Note that this is an 8-bit charset. Care should be taken to choose an
appropriate Content-Transfer-Encoding.

Published specification(s): Appendix 1 of JIS X0208:1997.

ISO 10646 equivalency table:

The correspondence is defined in JIS X0208:1997, the Kanji mapping is
described in Appendix 6. Column 1 of Table 2 of Appendix 5 lists some
variation of punctuation, and the names given in Appendix 5 are
preferred to those in Appendix 4, when available.

In computer readable formats several variations exist. An obsolete
variation is available at:

http://unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/JIS/SHIFTJIS.TXT

Additional information:

This charset is an extension of csHalfWidthKatakana by adding graphic
characters in JIS X 0208. The CCS’s are JIS X0201:1997 and JIS X0208:1997.

Several vendor specific charsets that derive from shift_jis often use
the shift_jis name instead of a more specific vendor charset name.
Windows-31J is one example, Mac Japanese and Java SJIS are others. A
common variation is to convert shift_jis 0x5c to U+005c Unicode, but
display it as the Yen sign.

Person & email address to contact for further information:
Japanese Industrial Standards Committee
http://www.jisc.go.jp/eng/index.html

Intended usage: LIMITED USE

出典:IANA – Shift_JIS

ここで Shift_JIS の別名の一つとなっている csShiftJIS ですが、私は使っている例をまだ見たことがないですw