MozillaZine.jp フォーラム https://forums.mozillazine.jp/ |
|
メール添付時の Content-Transfer-Encoding https://forums.mozillazine.jp/viewtopic.php?f=3&t=10282 |
ページ 1 / 1 |
作成者: | m-ogino [ 2010年6月19日(土) 15:48 ] |
記事の件名: | メール添付時の Content-Transfer-Encoding |
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; ja-JP-mac; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 を使用しています。 挙動がおかしい気がするので質問させてください。8bit の文字コードを含むメールを添付したときに、Content-Transfer-Encoding: 7bit になるのは良いのでしょうか。 UTF-8 で日本語等を含むメールを作成すると、 引用: Subject: UTF-8 message Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit UTF-8 メッセージ と Content-Transfer-Encoding: 8bit のメールが作成されます。 別に新規にメールの作成を選んで、このメールをドラッグ&ドロップで添付すると、本文が ISO-2022-JP (7bit) か UTF-8 (8bit) かで、添付された Content-Type: message/rfc822 のパートの Content-Transfer-Encoding も 7bit だったり 8bit だったりするのですが、7bit になるのはおかしくないでしょうか。 ○ ISO-2022-JP のメールに添付したとき 引用: Content-Type: multipart/mixed; boundary="------------060906050905070806040405" This is a multi-part message in MIME format. --------------060906050905070806040405 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit (略) --------------060906050905070806040405 Content-Type: message/rfc822; name="=?ISO-2022-JP?B?GyRCRTpJVSVhJUMlOyE8JTgbKEI=?=" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0*=ISO-2022-JP''%1B%24%42%45%3A%49%55%25%61%25%43%25%3B%21%3C%25; filename*1*=%38%1B%28%42 From ogino@verama.net Sat Jun 19 15:14:34 2010 Return-Path: <ogino@verama.net> (略) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit (略) ○ UTF-8 のメールに添付したとき 引用: --------------040708010200040801040401 [/quote][/code]
Content-Type: message/rfc822; name="=?UTF-8?B?5re75LuY44Oh44OD44K744O844K4?=" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename*0*=UTF-8''%E6%B7%BB%E4%BB%98%E3%83%A1%E3%83%83%E3%82%BB%E3%83%BC; filename*1*=%E3%82%B8 From ogino@verama.net Sat Jun 19 15:14:34 2010 (略) Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit |
ページ 1 / 1 | All times are UTC + 9 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |