Closed Bug 941545 Opened 6 years ago Closed 6 years ago

Default to UTF-8 for outgoing email for the en-US locale

Categories

(MailNews Core :: Composition, defect)

defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 29.0

People

(Reporter: hsivonen, Assigned: mkmelin)

Details

Attachments

(1 file, 1 obsolete file)

It appears that bug 862292 is considered too drastic at this time due to feature phones in Japan, etc., I suggest taking a baby step that doesn't disrupt the Japanese localization but tests the waters for using UTF-8 for outgoing email: making the en-US locale default to UTF-8 for outgoing email.

The following Thunderbird locales already default to UTF-8 for outgoing email:
Arabic
Belarusian
Greek
Farsi
Georgian
Macedonian
South Ndebele
Panjabi
Polish
Romanian
Russian
Serbian
Swati
Southern Sotho
Tsonga
Venda
Vietnamese
Xhosa
Traditonal Chinese
Zulu

For the African languages, UTF-8 is required. However, it's notable that the above list includes languages that do have 8-bit legacy encodings (Arabic, Belarusion, Greek, Farsi, Macedonian, Polish, Romanian, Russian, Serbian, Vietnamese, Traditional Chinese). If these locales can get away with sending UTF-8, chances are English could, too, considering that most English email exercises just the ASCII range anyway.

If the en-US locale switched, maybe some other locales would switch, too, making fixing bug 862292 eventually a non-event.
Attached patch proposed fix (obsolete) — Splinter Review
Yes, lets do this as a first step.
If it works out, maybe in a release or two we can get rid of the pref completely.
Assignee: nobody → mkmelin+mozilla
Status: NEW → ASSIGNED
Attachment #8343686 - Flags: review?(mnyromyr)
Attachment #8343686 - Flags: review?(mbanner)
Comment on attachment 8343686 [details] [diff] [review]
proposed fix

r=Standard8 for the mail and mailnews/ parts. Locales won't necessarily pick this up by default (due to not changing the string name, but needing to keep it consistent here for prefs), so I'd suggest a post to l10n when this lands explaining the change and why we've done it and suggest that locales might want to review their defaults as well.
Attachment #8343686 - Flags: review?(mbanner) → review+
Attached patch proposed fix, v2Splinter Review
Had to fix two tests...

So, do you want this for SeaMonkey?
Attachment #8343686 - Attachment is obsolete: true
Attachment #8343686 - Flags: review?(mnyromyr)
Attachment #8355761 - Flags: review?(mnyromyr)
Comment on attachment 8355761 [details] [diff] [review]
proposed fix, v2

Review of attachment 8355761 [details] [diff] [review]:
-----------------------------------------------------------------

Trying IanN instead
Attachment #8355761 - Flags: review?(mnyromyr)
Attachment #8355761 - Flags: review?(iann_bugzilla)
Attachment #8355761 - Flags: review+
Iann/Karsten: can you decide if you want it or not. I plan to land the tb/core changes soon.
Comment on attachment 8355761 [details] [diff] [review]
proposed fix, v2

Having spoken with Neil, neither of us has a strong objection to this happening so r=me
Attachment #8355761 - Flags: review?(iann_bugzilla) → review+
https://hg.mozilla.org/comm-central/rev/8d2596dd4fec -> FIXED
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 29.0
You need to log in before you can comment on or make changes to this bug.