Closed Bug 294321 Opened 20 years ago Closed 20 years ago

When changing window configuration, character encoding in message becomes wrong

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
Linux
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 265393

People

(Reporter: mikael, Assigned: mscott)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050421 Firefox/1.0.3 (Debian package 1.0.3-2)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050421 Firefox/1.0.3 (Debian package 1.0.3-2)

When I change window configuration (Edit->Prefs->General->Window conf), the
character encoding of the currently displayed message becomes confused, and
strange characters are shown. Switching to another message and back fixes the
problem.

Reproducible: Always

Steps to Reproduce:
1. Choose message with international characters (iso8859-1 in my case)
2. Switch window configuration
3. See that message now looks garbled.

Actual Results:  
The message is diplayed with what looks like uninterpreted utf-8.

Expected Results:  
The message should look the same

Before switching the text looks like: "Vad jag har förstått". 
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

After switching: "Vad jag har förstått"
Ummm, what bugzilla does with my text sample I cannot understand.... :-)

Anyway the first sample looks ok to me (2 separate swedish characters). The
second looks in Thunderbird like the first does on this web page... i.e. instead
of single characters I get the 2-byte utf-8 chars. Bugzilla turned that into 4
characters instead of 2.

Argh, I can produce screenshots if you want.
I'd say "Display a message with non US-ASCII characters in content" in the first
step.

And in recent TB nightlies, you change the display by using View/Layout. The
path you list instead is the one for Mozilla Mail, but the funny thing is that
Mozilla Mail does not seem to have the problem.

It's really quite minor as the display gets corrected as soon as you select
another message.
Status: UNCONFIRMED → NEW
Ever confirmed: true
(In reply to comment #2)
> the funny thing is that
> Mozilla Mail does not seem to have the problem.

xref bug 284983 -- this used to occur in the Suite, but somehow that was fixed 
in recent builds.

*** This bug has been marked as a duplicate of 265393 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.