为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

mail.label_ascii_only_mail_as_us_ascii does not work on Thunderbird 45.0 ?

  • 4 个回答
  • 3 人有此问题
  • 1 次查看
  • 最后回复者为 rokuyama

more options

I'm using Thunderbird 45.0 on Japanese environment of OS X 10.8.5. With older versions of Thunderbird, I could send messages with charset=us-ascii by setting mail.label_ascii_only_mail_as_us_ascii to true. However, unfortunately, with Thunderbird 45.0, messages are sent with charset=iso-2022-jp even though they do not contain any Japanese characters, e.g.,

   To: somebody@somewhere
   Subject: test
   hello

How can I sent messages with charset=us-ascii?

I'm using Thunderbird 45.0 on Japanese environment of OS X 10.8.5. With older versions of Thunderbird, I could send messages with charset=us-ascii by setting mail.label_ascii_only_mail_as_us_ascii to true. However, unfortunately, with Thunderbird 45.0, messages are sent with charset=iso-2022-jp even though they do not contain any Japanese characters, e.g., To: somebody@somewhere Subject: test hello How can I sent messages with charset=us-ascii?

所有回复 (4)

more options

Hi rokuyama.

To set up the messages encoding, you should not need to do anything in the preference editor. Just go to Options > View > Formatting and int the Fonts & Colors part click the Advanced... button. At the bottom of the opened window you will be able to set default encoding for both incoming and outgoing messages.

Michal

more options

Hi Michal,

sorry for the late reply, and thank you for your advise. But, unfortunately, it does not work for me. Please let me explain my motivation more in details.

(1) For daily use, I want to send Japanese messages with ISO-2022-JP, that is the preferable character set for Japanese e-mails (cf. RFC 1468 and followings).

(2) When I send English messages to open source communities, I prefer US-ASCII rather than ISO-2022-JP; For Latin characters, ISO-2022-JP is compatible to ASCII, however some communities, e.g., NetBSD, moderates messages with charset=iso-2022-jp in order to filter SPAMs from Japan.

With older version of Thunderbird (at least until 38.7.2), I achieved both (1) and (2) by setting incoming/outgoing encoding to ISO-2022-JP and mail.label_ascii_only_mail_as_us_ascii to true. However, with Thunderbird 45.0.0 and 45.1.0, messages are sent with charset=iso-2022-jp even if that do not contain any Japanese characters.

Thanks, Rin

more options

Looking in Bugzilla leaves me with the impression that the pref was done away with as Nothing should be using that charset anymore. ISO-8859-1replaces it.

Bugs https://bugzilla.mozilla.org/show_bug.cgi?id=1070986 https://bugzilla.mozilla.org/show_bug.cgi?id=1069954

So I suggest you choose another encoding choice from the options > Text encoding menu when you are composing your mail.

more options

Hi Matt,

thank you for your comment. I tried ISO-8859-1 as incoming/outgoing encoding instead of ISO-2022-JP; I sent 3 kinds of messages:

(1) messages with plain ASCII, something like,

   "I met the Schroedinger's cat at the corner of my place!"

(2) messages with 8bit Latin characters, e.g.,

   "I met the Schrödinger's cat at the corner of my place!"

(3) messages with Japanese characters, e.g.,

   "I met the シュレディンガーの猫 at the corner of my place!"

When mail.label_ascii_only_mail_as_us_ascii is false, both (1) and (2) are sent with charset=windows-1252. But if it is true, (1) is sent with charset=us-ascii; strangely enough, mail.label_ascii_only_mail_as_us_ascii flag does work with ISO-8859-1 whereas it fails with ISO-2022-JP.

In addition, (3) is sent with charset=UTF-8, unfortunately. This violates RFC 1468, and therefore it cannot be read with some mailers that strictly follow the related RFCs.

Thanks, Rin