Closed Bug 673680 Opened 13 years ago Closed 13 years ago

Add support for koi8_r charset encoding

Categories

(Core :: Internationalization, defect)

All
Other
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla8

People

(Reporter: yarosla, Assigned: unghost)

Details

(Whiteboard: [inbound])

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 6.0; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.122 Safari/534.30

Steps to reproduce:

YouTube Service subscription emails (in russian language) include non-standard charset name "koi8_r" (instead of "koi8-r") both in subject and body parts:

Content-Type: multipart/alternative; boundary="===============1889938357=="
MIME-Version: 1.0
Subject: =?koi8_r?b?Q29tbWVudCBwb3N0ZWQgb24gIk5va2lhIE45MDAgLSDP08/Cxc7Oz9PUySDJ?=
 =?koi8_r?b?ztTF0sbFytPBIg==?=
From: YouTube Service <service@youtube.com>


--===============1889938357==
Content-Type: text/plain; charset="koi8_r"
MIME-Version: 1.0
Content-Transfer-Encoding: base64



Actual results:

Thunderbird does not detect this charset automatically. Cyrillic characters displayed as diamonds with question mark inside. Subject displays nothing but two diamonds.


Expected results:

It would be nice if Thunderbird recognized this non-standard spelling as koi8-r charset.

Comparison to other email client programs:
+ Google Mail detects and displays such mails correctly (both subject and body)
+ Microsoft Windows Vista Mail detects and displays such mails correctly (both subject and body)
Assignee: nobody → smontagu
Status: UNCONFIRMED → NEW
Component: General → Internationalization
Ever confirmed: true
Product: Thunderbird → Core
QA Contact: general → i18n
Version: 5.0 → unspecified
Attached patch Potential patchSplinter Review
Attachment #549655 - Flags: review?(smontagu)
Attachment #549655 - Flags: review?(smontagu) → review+
Assignee: smontagu → unghost
Status: NEW → ASSIGNED
Attachment #549860 - Flags: review+
Keywords: checkin-needed
Keywords: checkin-needed
Whiteboard: [inbound]
http://hg.mozilla.org/mozilla-central/rev/49f809c80384
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla8
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: