The default bug view has changed. See this FAQ.

Add support for koi8_r charset encoding

RESOLVED FIXED in mozilla8

Status

()

Core
Internationalization
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: Yaroslav, Assigned: Alexander L. Slovesnik)

Tracking

unspecified
mozilla8
All
Other
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [inbound])

Attachments

(2 attachments)

(Reporter)

Description

6 years ago
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)

Updated

6 years ago
Assignee: nobody → smontagu
Status: UNCONFIRMED → NEW
Component: General → Internationalization
Ever confirmed: true
Product: Thunderbird → Core
QA Contact: general → i18n
Version: 5.0 → unspecified
(Assignee)

Comment 1

6 years ago
Created attachment 549655 [details] [diff] [review]
Potential patch
Attachment #549655 - Flags: review?(smontagu)
Attachment #549655 - Flags: review?(smontagu) → review+
(Assignee)

Comment 2

6 years ago
Created attachment 549860 [details] [diff] [review]
Patch for checkin
Assignee: smontagu → unghost
Status: NEW → ASSIGNED
Attachment #549860 - Flags: review+
(Assignee)

Updated

6 years ago
Keywords: checkin-needed

Updated

6 years ago
Keywords: checkin-needed
Whiteboard: [inbound]
http://hg.mozilla.org/mozilla-central/rev/49f809c80384
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla8
You need to log in before you can comment on or make changes to this bug.