Closed Bug 500165 Opened 15 years ago Closed 15 years ago

Encoding in list of messages is broken in some messages but OK in message pane

Categories

(Thunderbird :: Folder and Message Lists, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 468351

People

(Reporter: ivanzoid, Unassigned)

Details

(Keywords: testcase-wanted)

Attachments

(3 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11 (.NET CLR 3.5.30729) Build Identifier: version 2.0.0.22 (20090605) From/To/Subject fields of some mails are displayed as question marks in the list of messages. But in the message pane (F8) they are displayed correctly. Also if message pane is configured to be opened in separate window, in a case of such messages the title also contains question marks instead of normal national text. I have marked it on the screenshots: http://i44.tinypic.com/2ppbg45.png http://i42.tinypic.com/2imax6v.png I can forward such messages to any email so you can test it. Reproducible: Always This is 2 .eml files which are displayed incorrectly: http://www.sendspace.com/file/2qg4ce http://www.sendspace.com/file/5yarv6
Summary: Encoding in list of messages is broken but OK in message pane → Encoding in list of messages is broken in some messages but OK in message pane
Version: unspecified → 2.0
did this also happen in thunderbird 2.0.0.21?
Yes.
please attach a sample message file to the bug using "Add an attachment"
Keywords: testcase-wanted
Whiteboard: DUPEME
(In reply to comment #4) > sender in message list for this message is displayed incorrectly View/Source display > From: "ЦЕПНАЯ РЕАКЦИЯ. ФОРУМ" <spl1@yandex.ru> (In reply to comment #5) > subject in message list for this message is displayed incorrectly View/Source display > Subject: вакансии RABOTA55.RU Binary of non-ascii MUST NOT be put in From:/Subject: header. Non-ascii character should be properly encoded. => INVALID Note: In display at header box of message pane, "From: ..." header string and "Subject: ..." header string is rendered using HTML parser/renderer with auto-detect=on (XUL). And it happened to be detected as windows-1252 or mail body's charset=windows-1252 is used. So they are fortunately displayed as you want. To be tolerant with such malformed mails by bad mailers, Tb has a feature. Folder properties Default Character Encoding: windows-1252 [ X ] Apply default to all messages in the folder (individual message character encoding settings and suto-detection will be ignored) If you copy the mails to folder with this option(and rebuild-index if required), text you want is displayed at thread pane, and mail body is also readable if mail body is written in windows-1252.
(In reply to comment #6) Hi WADA, thanks for your response :) > Binary of non-ascii MUST NOT be put in From:/Subject: header. Non-ascii > character should be properly encoded. > => INVALID Yes, I also heard about it... But it's too much emails today sent this incorrect way. It would be impossible to convince all this people to fix their settings. I also see that some of the serious email-clients do workaround this problem. I think Thunderbird may do it too... Hope it will happen someday :) > To be tolerant with such malformed mails by bad mailers, Tb has a feature. > Folder properties > Default Character Encoding: windows-1252 > [ X ] Apply default to all messages in the folder (individual message > character encoding settings and suto-detection will be ignored) > If you copy the mails to folder with this option(and rebuild-index if > required), text you want is displayed at thread pane, and mail body is also > readable if mail body is written in windows-1252. Hmm, I tried this, but it doesn't help at all... Everything remains exactly the same. Pls see the screenshot. (Actually the encodings in my case are windows-1251, I knew it by saving eml files and using external text editor)
Attached image forced encoding screenshot (deleted) —
Do you execute rebuild-index? windows-1251 binary is really written in Subject: header? Possibly my misunderstanding. The folder property is applicable to mail body only. Interpretation of mail header may not be affected by the setting.
(In reply to comment #9) > Do you execute rebuild-index? Yes, even few times :) (Also tried restarting Tb) > windows-1251 binary is really written in Subject: header? Yes.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Cleanup *dupeme* whiteboard flag from bugs that are marked as Resolved Duplicate!
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: