アプリ版:「スタンプのみでお礼する」機能のリリースについて

metaタグの文字コードの記述で質問がございます。

Shift-JIS(ハイフン)
Shift_JIS(アンダーバー)

どちらが正しいのでしょうか?

hift-JISで当然のように説明しているサイトもあれば
Shift_JISが正解ですって説明しているサイトもあるので
どう判断すればよいのか分かりません。(^_^;)ゞ
ご存知でしたら宜しくお願いいたします。

A 回答 (1件)

Shift_JISが正しいです。


http://www.iana.org/assignments/character-sets

>These are the official names for character sets that may be used in the Internet and may be referred to in Internet documentation.

>Name: Shift_JIS (preferred MIME name)
MIBenum: 17
Source: 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. The
complete definition is shown in Appendix 1 of JIS
X0208:1997.
This charset can be used for the top-level media type "text".
Alias: MS_Kanji
Alias: csShiftJIS


>However, no distinction is made between use of upper and lower case letters.

なお大文字小文字は区別されませんのでどちらで書いても大丈夫です。

=============
オマケ:ドメイン名のIANAって何よ?
http://ja.wikipedia.org/wiki/IANA
    • good
    • 0
この回答へのお礼

色々勉強になりました。
ありがとうございました。

お礼日時:2009/07/13 14:49

お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!