FROM: Daniel Calafut
(408) 721-4331 Fax (408) 732-4116
SUBJECT: MIME info.
I have a question concerning the definitions in the current MIME spec. about
JIS/SJIS (for Japanese) encoding. Does MIME provide a standardized header
this and other languages needing two-byte representations? Thanks...
The answer is yes, MIME does provide for this sort of thing. The charset=
parameter of the text/plain content-type is used. See RFC1521 for specifics of
this header field and parameter and RFC1468 for the specific character encoding
used for Japanese text. (Its ISO-2022 based instead of shift-JIS, but
conversion between ISO-2022-JP and shift-JIS isn't difficult.)