[sylpheed-jp:10785] 文字エンコーディングの自動検出 に失敗する場合がある

IWAMOTO Kouichi <[email protected]>
Newsgroups gmane.mail.sylpheed.general.japanese
Message-ID <[email protected]>
岩本といいます。

最近、特定の人からのメールで文字エンコーディングの自動検出に失敗するので
確認してみたところ、以下のように Content-Type ヘッダにコメントが付いていると
自動検出に失敗するようです。

Content-Type: text/plain; charset=ISO-2022-JP (comment)

あまり無いケースだとは思いますが、RFC2045 で

| Note that the value of a quoted string parameter does not include the
| quotes.  That is, the quotation marks in a quoted-string are not a
| part of the value of the parameter, but are merely used to delimit
| that parameter value.  In addition, comments are allowed in
| accordance with RFC 822 rules for structured header fields.  Thus the
| following two forms
|
|   Content-type: text/plain; charset=us-ascii (Plain text)
|
|   Content-type: text/plain; charset="us-ascii"
|
| are completely equivalent.

と書かれていますので、対応して頂けるとありがたいです。

-- 
いわもと こういち([email protected]/[email protected]/[email protected])
# なるようになれ、明日もイケイケ♪

_______________________________________________
Sylpheed-jp mailing list
[email protected]
http://www.sraoss.jp/mailman/listinfo/sylpheed-jp
test message (text/plain, 15 B)
てすと
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.