Closed Bug 243747 Opened 22 years ago Closed 22 years ago

Only part of message body shown (invalid character coding)

Categories

(MailNews Core :: Backend, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 236941

People

(Reporter: fejesjoco, Assigned: sspitzer)

Details

Attachments

(1 file)

2.68 KB, message/rfc822
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040421 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040421 see the attached file. mozilla only displays the last two lines. the empty status: header may confuse it. but there were replies to this list message, with the whole body quoted, so some mail clients can handle it. Reproducible: Always Steps to Reproduce:
Attached file bug
The problem is not the blank Status: header; it's the charset specified in the Content-Type: header. I don't know what "iso8854-2" might be; when I changed that to "iso-8859-2" (the correct ID for the standard Central/Eastern European character set) the message displayed OK. Same thing when I selected View|Character Encoding|ISO-8859-2. Every line that was hidden contained some 8-bit characters; the two lines that were shown were 7-bit only. I'm not sure what Mozilla should do differently, if anything.
Summary: erroneous (?) mail handling → Only part of message body shown (invalid character coding)
I'm not quite sure why, since the message isn't in UTF-8, but I get the same assertions as in the testcase for bug 236941.
Depends on: 236941
This is the bug 239236 variant of bug 236941. The charset is unknown, so the call to get a converter fails, but the current code copies the string intact, so later when Mozilla expects already converted UTF-8, it gets invalid 8-bits content instead, and every line that includes one or more 8 bits character fails to display. I verified that the patch to bug 236941 corrects the problem on the attachment with the TB nightly here : ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/2004-06-01-02-0.7/ This should be OK with a Moz trunk nightly too as soon as the patch will be included. *** This bug has been marked as a duplicate of 236941 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
No longer depends on: 236941
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: