Closed
Bug 232867
Opened 22 years ago
Closed 11 years ago
view source assumes the character encoding is ISO-8859-1
Categories
(Thunderbird :: Mail Window Front End, defect)
Thunderbird
Mail Window Front End
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: jshin1987, Unassigned)
Details
(Keywords: intl)
Attachments
(1 file)
|
9.71 KB,
image/png
|
Details |
The message source view window in Thunderbird assumes that messages are in
ISO-8859-1 so that non-Latin1 messages are garbled in the message source view.
It doesn't have View | Character Coding menu so that it's impossible to fix it
manually, either. Mozilla-mail has View menu with 'Character Coding' and it
doesn't assume messages are in ISO-8859-1. Firebird has 'View menu' with
'Character coding' as well. I guess it's a rather easy fix. I'll look into this
later.
Comment 1•22 years ago
|
||
Looks like the menu is there now, no?
| Reporter | ||
Comment 2•22 years ago
|
||
mscott's recent change (in TB view-source) may have fixed this bug. I haven't
tried it yet.
Comment 3•22 years ago
|
||
That's why I bring it up.
| Reporter | ||
Comment 4•22 years ago
|
||
'View | Character Encoding' menu is now included (so that I can fix it manually
in 'view-source' window), but the window is still opened up with 'ISO-8859-1' as
'documentCharset' instead of the charset of the current message for which the
source-view is requested.
| Reporter | ||
Comment 5•22 years ago
|
||
I added 'dump' statement to print out the charset when opening up a new window
for the message source. It's correctly set, but the window still comes up with
ISO-8859-1. Mozilla uses exactly the same code and I'm wondering if there's a
rregression in window.openDialog() in recent nightlies.
http://lxr.mozilla.org/mozilla/source/mail/base/content/mailCommands.js#433
| Reporter | ||
Comment 6•21 years ago
|
||
Actually, Mozilla-mail has the same problem. However, the symptom is very
confusing. Before 'view-source' window is launched, 'message' is 'retrieved'
from nsMsgDB, which may account for a bit hard-to-predict/reproduce result.
Comment 7•20 years ago
|
||
What I'm seeing currently (1.0+0414) is that if the View Source window is using
a charset other than ISO-8859-1 or UTF-8 when it opens, that charset is not
selected in the menu; but a useable charset seems to be in use for most
messages.
Summary: view source assumes the character encoding is ISO-8859-1 and doesn't have View | Character (en)coding menu → view source assumes the character encoding is ISO-8859-1
Comment 8•19 years ago
|
||
Jungshik, this pretty much seems to be WFM for me since 1.0. Whatever charset is in use while displaying the message is used in the Source window. I see two problems (other than bug 350693 still being outstanding):
1) If the encoding is not part of the "list" -- that is, those set via
View|Encoding|Customize List -- the encoding that gets used is not added to the dynamic part of the Encoding menu, so you can't tell what the encoding is.
(This is what I mentioned in comment 7).
2) Some messages have the encoding in the <meta> tag of the HTML part instead of the Content-Type header; these are displayed with the correct encoding within the HTML portion, but the Encoding menu still reads whatever is in the Content-Type (or whatever the folder's default encoding is). In my case, this is often ISO-8859-1. Again, that encoding is what gets passed to the View Source window.
Updated•18 years ago
|
QA Contact: front-end
Updated•17 years ago
|
Assignee: mscott → nobody
Comment 9•17 years ago
|
||
(In reply to comment #8)
> Jungshik, this pretty much seems to be WFM for me since 1.0. Whatever charset
> is in use while displaying the message is used in the Source window.
Resolving WFM per comment #8.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
Comment 10•11 years ago
|
||
(In reply to Mike Cowperthwaite from comment #7)
> What I'm seeing currently (1.0+0414) is that if the View Source window is
> using a charset other than ISO-8859-1 or UTF-8 when it opens, that charset
> is not selected in the menu; but a useable charset seems to be in use for
> most messages.
I'm definitely seeing garbled output here in the latest Daily with a fresh
profile. A bit more of an issue now, since UTF-8 is the default encoding
for composing new messages.
I'm not clear on the part about "most messages". Even if the source of only
some messages is garbled, that's still a flaw.
Flags: needinfo?(jshin1987)
Updated•11 years ago
|
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Comment 11•11 years ago
|
||
Please file a new bug instead of reopening a 5 year old issue.
Status: REOPENED → RESOLVED
Closed: 17 years ago → 11 years ago
Flags: needinfo?(jshin1987)
Resolution: --- → WORKSFORME
Comment 12•11 years ago
|
||
I don't understand why you want me to duplicate an existing report, but okay.
Bug 1017768.
You need to log in
before you can comment on or make changes to this bug.
Description
•