Closed Bug 607952 Opened 15 years ago Closed 11 years ago

UTF8 subject clipping error

Categories

(Thunderbird :: Folder and Message Lists, defect)

x86
macOS
defect
Not set
major

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: brunner.adam, Unassigned)

Details

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6 If a subject contains UTF8 characters and the clipping position is a two char long UTF8 character, the whole subject will be displayed in ISO-8859-1 in the mail list and in the message view panel. Reproducible: Always Steps to Reproduce: 1. Send yourself a mail with subject header: Subject: =?utf-8?b?W0hHLXN5bmNdIDM2ZmFiMDc4N2MyMCAtICogS8ODwql0IGxpc3RhIHDDg8Kh?= =?utf-8?b?cm9zw4PCrXTDg8Khc2EgbWluZGvDg8KpdCBpcsODLi4u?= 2. Recived mail's subject will be displayed wrong Actual Results: Subject displayed as "[HG-sync] 36fab0787c20 - * Két lista párosítása mindkét irÃ..." Expected Results: Subject displayed as "[HG-sync] 36fab0787c20 - * Két lista párosítása mindkét irá..."
It looks next at mail sender side(i.e. sender's fault): (1) Original utf-8 binary for Két is interpreted as iso-8859-1 or windows-1252. In iso-8859-1 or windows-1252, it's shown as Két. (2) Két in iso-8859-1(or windows-1252) is converted to utf-8. (3) The converted utf-8 binary is base64 encoded in Subject: header. Please note that "Két lista pá" is shown if header is changed to next. > Subject: =?iso-8859-1?b?W0hHLXN5bmNdIDM2ZmFiMDc4N2MyMCAtICogS8ODwql0IGxpc3RhIHDDg8Kh?= > Subject: =?windows-1252?b?W0hHLXN5bmNdIDM2ZmFiMDc4N2MyMCAtICogS8ODwql0IGxpc3RhIHDDg8Kh?=
(In reply to WADA from comment #1) WADA, is your comment 1 confirmation or rejection of this bug?
Maybe similar: Bug 610110
(In reply to Thomas D. from comment #2) "sender's fault == not Tb's fault == not Tb's bug" usually means "rejection" :-)
invalid according to wada
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
Component: Mail Window Front End → Folder and Message Lists
You need to log in before you can comment on or make changes to this bug.