Closed Bug 126550 Opened 23 years ago Closed 23 years ago

mail/news msg list pane and header display panel do not make use of MIME charset info in choosing fonts

Categories

(MailNews Core :: Internationalization, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 121520

People

(Reporter: jshin1987, Assigned: nhottanscp)

Details

Attachments

(1 file)

In the message list panel, Mozilla mail/news
does not make use of MIME charset info
available from RFC 2047(formerly RFC 1522)
encoded headers when selecting fonts. 
It doesn't either when selecting fonts
to render headers of the message currently
in view. 

This bug is an 'extension' of bug 102623.
The patch for that bug fixed this same
problem in rendering of the message body.
The message is encoded in GB2312 and
the Subject header is RFC 2047(1522)-encoded.
That is,  it has the following headers:

Subject: =?GB2312?B?scjI/KOstfey6dPrzsq+7Q==?=
Content-Type: text/plain; charset=GB2312
Content-Transfer-Encoding: 8bit

Please, note that the second line in 
the message body is also used as the
Subject of the message. In the message
body, a font for SC was used to render
the whole string. However, in the message
list pane and the message header display
pane, some characters are rendered
with a font for Korean(because I ran
Mozilla under Korean locale) and
other characters (which are not covered
by a Korean font) are rendered with
a SC font. 

Something similar to what's been done to
fix bug 102623 needs to be done here.
Subject: Raw-8bit-GB2312 string
Content-Type: text/plain; charset=GB2312
Content-Transfer-Encoding: 8bit

Perhaps, this should be filed as a separate bug. In case
the message body is marked as GB2312 but the message
header doesn't use RFC 2047(1522) encoding,
we may need to come up with a way to propagate 
MIME charset obtained from C-T header when
selecting fonts to render 'raw-8bit' headers with.

BTW, I was wrong when I wrote that something similar
to patch to bug 102623 needs to be done. What's necessary
is sth. similar to 
what Naoki did in mimemoz2.cpp/mimetpla.cpp/mimetpfl.cpp.



The thread pane display problem was filed in bug 121520 and envelope display
problem was filed in bug 124510.
Ji,
Thank you for the info. I should have searched bugzilla before
filing this or should have filed last year when I noticed the problem
:-). 
I'm not sure which to do with this bug, making it a duplicate
or marking it depending on bug 121520 and bug 124510. Pls, feel free
to do whichever you think of as appropriate. 
That's okay.
I'll mark this one as a dup of bug 121520. Thanks.

*** This bug has been marked as a duplicate of 121520 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Marked it as verified.
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: