Closed Bug 807903 Opened 12 years ago Closed 12 years ago

SUBJECT concatenated with question mark

Categories

(Thunderbird :: Untriaged, defect)

16 Branch
x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 493544

People

(Reporter: q12w, Unassigned)

Details

Attachments

(3 files)

157.51 KB, application/vnd.oasis.opendocument.text
Details
157.73 KB, application/vnd.oasis.opendocument.text
Details
1.50 KB, application/octet-stream
Details
Attached file Problem (eng).odt
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4

Steps to reproduce:

Recieve messages with Cyrillic SUBJECT


Actual results:

SUBJECT is truncated with question mark


Expected results:

Full SUBJECT should be shown

More details and investigation in attachment
Attached file In russian
Attachment #677672 - Attachment mime type: application/octet-stream → application/vnd.oasis.opendocument.text
Attachment #677671 - Attachment mime type: application/octet-stream → application/vnd.oasis.opendocument.text
Please add plain text data also as plain text data here, instead of in an image file or an office document. Text in image files or office documents cannot be searched for in this bug tracking system.

Also, please attach an email message itself as a testcase here (and make sure that it does not include confidential data).
Flags: needinfo?(q12w)
Flags: needinfo?(q12w)
In some incoming messages in SUBJECT or FROM text is truncated with «?» symbol
Problem occurs only with Cyrillic messages. 

Source code of message shows that FROM and SUBJECT field with Cyrillic are coded witth different coding types (UTF8, Win1251, KOI8). So after coding text is much longer and sometimes text is moved to next line.
If next line starts with “space” symbol everything is decoded correctly. If next line starts with “tabulation” symbol (some mail clients do so, like MS Outlook), decoding fails and after decoded first line there is «?» symbol instead of decoded continued text from next line.

It is very hard to tell without screenshot, so attachment Problem (eng).odt - there are pictures with source code and result examples.
I see the same problem in other mail clients, so this is likely an invalid encoding of the subject line, but not a bug in the code of Thunderbird.
Its know bug 493544
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: