Non-standard alias "koi8r" for "KOI8-R" is not supported
Categories
(Thunderbird :: General, enhancement)
Tracking
(thunderbird_esr91+ fixed, thunderbird94+ fixed)
People
(Reporter: lrn1986, Assigned: mkmelin)
Details
Attachments
(2 files)
4.05 KB,
message/rfc822
|
Details | |
48 bytes,
text/x-phabricator-request
|
wsmwk
:
approval-comm-beta+
wsmwk
:
approval-comm-esr91+
|
Details | Review |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0
Steps to reproduce:
Received an email with non-standard MIME encoding "koi8r" (note the lack of "-" between "8" and "r"; this alias is not listed in IANA, the only alias for KOI8-R that IANA allows is "cskoi8r", if i remember correctly)
Actual results:
The headers of the message were not decoded correctly. Instead of seeing the sender name, the subject line or the name of an attachment in the message list and the message view panel, i see things like "=?koi8r?B?" followed by a string of ASCII characters.
Expected results:
The headers of the message should have been decoded correctly.
I do realize that the sender of this message uses non-standard name for a standard KOI8-R MIME text encoding, and that the sender is at fault here. However, i have failed to convince the sender that this is a bug worth fixing, so the emails will keep coming in this broken form for the foreseeable future. Which is why i'm asking Thunderbird developers to add a new alias for this encoding to maintain compatibility. For this reason I'm classifying this as a "request for enhancement" rather than a "defect report".
FWIW, the sending party uses Microsoft Exchange.
If there's an extension that already exists and can fix this for me (by changing encoding name in emails automatically), please tell me, i'm willing to accept that and consider the problem solved.
Assignee | ||
Comment 1•3 years ago
|
||
Probably we could add this to https://searchfox.org/comm-central/source/mailnews/intl/charsetalias.properties
Can you create a patch? Or at least attach a sample .eml?
Here's a sample email.
I can't make a patch because i currently don't have a PC suited for doing software development.
Assignee | ||
Comment 3•3 years ago
|
||
Updated•3 years ago
|
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/0742b56bf6c1
add koi8r=KOI8-R charset alias. r=freaktechnik
Assignee | ||
Comment 5•3 years ago
|
||
For the attachment filename encoding, that is not a valid way to encode those, so that part is not fixable.
Assignee | ||
Comment 6•3 years ago
|
||
Comment on attachment 9246099 [details]
Bug 1735731 - add koi8r=KOI8-R charset alias. r=freaktechnik
[Approval Request Comment]
User impact if declined: messages with non-standard charset koi8r can't be viewed properly
Testing completed (on c-c, etc.): c-c
Risk to taking this patch (and alternatives if risky): super safe
Comment 7•3 years ago
|
||
Comment on attachment 9246099 [details]
Bug 1735731 - add koi8r=KOI8-R charset alias. r=freaktechnik
[Triage Comment]
Approved for beta
Comment 8•3 years ago
|
||
bugherder uplift |
Thunderbird 94.0b5:
https://hg.mozilla.org/releases/comm-beta/rev/02ba6b923053
Comment 9•3 years ago
|
||
Comment on attachment 9246099 [details]
Bug 1735731 - add koi8r=KOI8-R charset alias. r=freaktechnik
[Triage Comment]
approved for esr91
Comment 10•3 years ago
|
||
bugherder uplift |
Thunderbird 91.3.1:
https://hg.mozilla.org/releases/comm-esr91/rev/14f3cbf49dac
Description
•