Closed
Bug 207018
Opened 22 years ago
Closed 22 years ago
Mail fails to show all of an unknown-8bit encoded mail viewed as utf-8
Categories
(MailNews Core :: Internationalization, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 190278
People
(Reporter: carljohan, Assigned: blizzard)
Details
Attachments
(1 file)
|
1.68 KB,
text/plain
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030313
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030313
A friend of mine sends mail through a badly configured Mutt client.
Even though his mails are encoded as iso-latin-1 they are marked
as unkown-8bit.
When viewing the mail from him I'm attaching as utf-8, as is the
standard encoding I'm using, two lines in the middle of the mail
aren't shown. They look like blank lines. By selecting the lines
I can sometimes get parts of the lines to show, but otherwise
they are just blank lines.
Viewing it with latin-1 encoding shows the mail perfectly, as the
mail actually is a misslabeled latin-1 mail.
Reproducible: Always
Steps to Reproduce:
1. Open the attached mail
2. View it with character encoding utf-8
Actual Results:
Two lines are shown as blank lines.
Expected Results:
At least all the ascii characters of the mail should be shown
even though the message is labeled as unkown-8bit.
This mail is actually 8bit iso-latin-1, but it is labeled charset=unknown-8bit.
Comment 2•22 years ago
|
||
Bug 71551 claims that it should be using ISO-8859-1, which should work for
Swedish. But see also bug 71541 : to help other people in other countries (not
everyone uses ISO-8859-1 or a similar charset), we will use the default charset
instead.
It switches to utf-8 because your default charset is utf-8. Maybe we can use
something more like the universal detector (bug 71541 comment 3) ? AFAIK, the
universal detector should have identified your message as ISO-8859-1.
Whether we should use ISO-8859-1, utf-8 or a universal detector is irrelevant
in this case.
This is an actual bug in the utf-8 handling of the mail. Two whole lines
in this mail aren't displayed and that should never happen, since most
of the characters are 7-bit ASCII.
At the very least, Mozilla should display _all_ valid 7-bit ASCII characters
and display non-valid utf-8 characters, like the swedish latin-1 chars
והצ and ִֵײ, as '?'.
One alternative is to do as the latest version of the IRC-client xchat does,
and display both utf-8 and latin-1 correctly if you set it to utf-8. But
that solution probably has some black magic in it since the standard for IRC
was latin-1 from the start.
Comment 4•22 years ago
|
||
>By selecting the lines
>I can sometimes get parts of the lines to show, but otherwise
>they are just blank lines.
This sounds similar to bug 190278. Are you using an Xft-enabled version of Mozilla?
Yes I am using an Xft-enabled Mozilla now that I think about it. It's probably
a dupe of bug 190278.
Comment 6•22 years ago
|
||
I have never been able to reproduce bug 190278, so reassigning to blizzard to
make the call whether this is a dupe of it.
Assignee: smontagu → blizzard
| Assignee | ||
Comment 7•22 years ago
|
||
Sounds exactly the same as bug 190278. I've personally stumbled over the UTF-8
vs. ISO-8859-1 issues.
*** This bug has been marked as a duplicate of 190278 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Updated•21 years ago
|
Product: MailNews → Core
Updated•17 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•