Closed Bug 258447 Opened 20 years ago Closed 20 years ago

Mail Start Page ignores character setting

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
Windows 2000
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird0.9

People

(Reporter: p.franc, Assigned: mscott)

References

Details

(4 keywords)

Attachments

(2 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; cs-CZ; rv:1.7) Gecko/20040803 Firefox/0.9.3 Build Identifier: version 0.7+ (20040901) Mail Start Page is displayed in iso-8859-1 even if other character encoding is specified in meta. Reproducible: Always Steps to Reproduce: 1.Go to tools->options->general->Thunderbird Start Page and set your start page to http://www.slovo.info/testuni.htm 2.Go to Go->Mail Start Page Actual Results: UTF-8 character encoding is ignored. You see garbage insted of coresponding characters.
This really affects lozalization of the Thunderbird start page.
yuck, i wonder if the charset changes to make RSS articles look correct regressed this.
Keywords: intl
I can confirm this behaviour with build "version 0.8 (20040908)" in Windows NT4 TB 0.7.3 does not have this bug.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: blocking-aviary1.0?
Keywords: l12y
Keywords: regression
I can confirm this too. Start Page in newest Thunderbird pre-0.8 nightlys localized to Polish (UTF-8 encoded) looks just like a total mess. This definitely should be a 0.8 blocker.
do you guys see this problem in trunk builds too or just the branch? I wonder if this was caused by my branch only changes for Bug #253807....hmmm
(In reply to comment #5) > do you guys see this problem in trunk builds too or just the branch? I've previosly tested it only on the aviary builds, which i'm trying to keep up-to-date with localization, but let me do some test on a trunk build... Nope, in the trunk builds everything is OK.
It may be too late to fix this for 0.8 but I'll try. Does anyone on the cc list have a debug build where they can try to back things out or test potential fixes? I looked at my change for Bug #253807 and I'm starting to think it couldn't be the cause. Because we set the charset to an empty string just befor loading the start page.... Can someone attach an example start page with non ascii characters to the bug that I can use to test? Thanks!
Attached file Czech star page
Here is Czech start page. In the browser it looks correctly, in the TB there is chaos.
Blocks: 259227
Flags: blocking-aviary1.0? → blocking-aviary1.0+
Target Milestone: --- → Thunderbird0.9
http://lxr.mozilla.org/aviarybranch/source/mailnews/base/resources/content/mailWindow.js#513 code below makes this bug? 505 function loadStartPage() { ... 515 if (startpage != "") { 516 // first, clear out the charset setting. 517 messenger.setDisplayCharset("");
Attached patch patchSplinter Review
Patch of Bug 59787 seems to be emptiness now. This patch seems to fix it. This is for mozilla/ mailnews/ base/ resources/ content/ mailWindow.js (means for ontent\messenger\mailWindow.js in chrome\mail.jar). Test of this patch can do only changing mailWindow.js in mail.jar without build.
Comment on attachment 160332 [details] [diff] [review] patch who can review it?
Attachment #160332 - Flags: review?(mscott)
Please do careful regression testing for all the cases where bug 59787 occurred with a non-ASCII and non-UTF-8 start page.
Comment on attachment 160332 [details] [diff] [review] patch I need testing help to regression test this so I'm going to get it checked in so folks can look at it. Thanks so much for the patch!
Attachment #160332 - Flags: review?(mscott) → review+
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Keywords: fixed-aviary1.0
Blocks: 253807
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: