its preferred MIME name is 'Shift_JIS'. If there is a name marked as
'preferred MIME name' by IANA, this name is the recommended one. This
also meets the W3C guidelines. W3C also recommends to use them all in
lowercase. Since they are case insensitive, I don't see any advantage
in not using them in all lowercase. The only allowed aliases for
shift_jis approved by IANA are 'MS_Kanji' and 'csShiftJIS', but not
'shiftjis'.
There is a wonderful (shameless plug ;-) perl module called I18N::Charset which
does all this for you. The function names are kind of quirky, but hey, it
works! You can even feed it "x-sjis" and it knows the official name is
Shift_JIS.
--
- - Martin 'Kingpin' Thurn
mthurn(_at_)tasc(_dot_)com