Closed
Bug 508946
Opened 15 years ago
Closed 15 years ago
SeaMonkey 2.1(Gecko 1.9.2) Mail&News ignores charset of Content-Type: header and uses charset of <meta HTTP-EQUIV="Content-Type" ...> in HTML mail body, when View/Message Body As/Original HTML
Categories
(SeaMonkey :: MailNews: Message Display, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: World, Unassigned)
References
Details
(Keywords: intl, Whiteboard: [fixed by bug 505072])
Attachments
(1 file)
+++ This bug was initially created as a clone of Bug #505072 +++ This bug is spin-off of "mail in mail folder" case in Bug #505072. Build Identifier: > Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2a1pre) Gecko/20090806 SeaMonkey/2.1a1pre SeaMonkey 2.1(Gecko 1.9.2) Mail&News ignores charset of Content-Type: header and uses charset of <meta HTTP-EQUIV="Content-Type" ...> in HTML mail body, when View/Message Body As/Original HTML. So, if incorrect charset is written in <meta> tag, display of HTML mail is garbled, even when correct charset is specified in Content-Type: header. It's "Original HTML" only issue. No problem with "Simple HTML" & "Plain Text". It's Sm 2.1x(1.9.2) only problem. No problem with Sm 2.0x(1.9.1). Sm 2.0x(1.9.1) uses charset in Content-Type: header properly. Note: This kind of mail is probably generated by software such as archiver at mail server. (1) Mail server converts character encoding of mail (to utf-8 in many case) (2) Changes charset parameter in Content-Type: header properly. (3) Don't change charset in <meta HTTP-EQUIV="Content-Type" ...> By google search, some bug reports for problem (3) of archiver can be seen.
Reporter | ||
Comment 1•15 years ago
|
||
If <meta> tag is removed, problem doesn't occur. As I wrote Bug 513249 Comment #8, 7/12 build is first build of Sm 2.1. > Build identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.9.2a1pre) Gecko/20090712 SeaMonkey/2.1a1pre This bug's problem occurs with the first Sm 2.1 build. This bug is special case of Bug 513249 on utf-8 mail. mail written in charset in <meta> Bug 513249 non utf-8 correct charset (so, non utf-8 is set) This bug utf-8 wrong charset (so, non utf-8 is set)
Severity: normal → major
Depends on: 513249
Reporter | ||
Comment 2•15 years ago
|
||
Patch for Bug 505072 is landed. Checked with next builds. > Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a1pre) Gecko/20091118 Shredder/3.1a1pre > Build identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.9.3a1pre) Gecko/20091118 SeaMonkey/2.1a1pre Problem could't be reprocuced with these builds. Fixed/Verified.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Whiteboard: [fixed by bug 505072]
Reporter | ||
Updated•15 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•