民斗です。 Kikutani Makoto さんは書きました: > =?iso-2022-jp?B? ではじまるBエンコードされたサブジェクトは > そのままkconvに食わせればデコードできますが、最近 > =?shift_jis?B? なんてのがときどきあります。 > > こういうのはRFC的に正しいんですかね? 正しいと思います。RFC 2047 には次のように書いてあり、 | 3. Character sets | | The 'charset' portion of an 'encoded-word' specifies the character | set associated with the unencoded text. A 'charset' can be any of | the character set names allowed in an MIME "charset" parameter of a | "text/plain" body part, or any character set name registered with | IANA for use with the MIME text/plain content-type. IANA では shift_jis を定義しているようなので…。 http://www.isi.edu/in-notes/iana/assignments/character-sets | Name: Shift_JIS (preferred MIME name) | MIBenum: 17 | Source: A Microsoft code that extends csHalfWidthKatakana to include | kanji by adding a second byte when the value of the first | byte is in the ranges 81-9F or E0-EF. | Alias: MS_Kanji | Alias: csShiftJIS -- 民斗 <tommy / valley.ne.jp>