Closed Bug 62754 Opened 25 years ago Closed 25 years ago

Regression: META charset ignored

Categories

(Core :: Internationalization, defect, P1)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: tracy, Assigned: harishd)

References

()

Details

(Keywords: intl, regression, smoketest, Whiteboard: Fix in hand)

Attachments

(3 files)

seen on commercial builds: windows 2000-12-13-06-Mtrunk linux 2000-12-13-03-Mtrunk mac 2000-12-13-04-Mtrunk many language sets on these pages are viewing incorrectly with odd symbols and signs
Keywords: smoketest
note: this is only with the utf8 unicode page, not the ncr, it works fine.
cc to iqa
corrected URL.... also this seems to be fixed with a setting for character coding. (unicode) (utf8) reducing severity.
Yoying, please test this in the latest trunk build.
QA Contact: teruko → ylong
Tested 12-13 Mtrunk build: WinME(Japanese): Can't auto-detect this page as UTF-8, it detected as shift-JIS. Mac.: same result as WinME. Linux: Detected this page as Western 8859-1 when there is no UTF-8 in sub-menu of Charactor coding. However, as far as I changed to Unicode-UTF8, the page looks fine with all 3 Platfom unless those languages that I don't have language packages installed in my machine. Addition information: I checked the different Netscape homepage. All 3 platform detected simplify Chinese as Big5 Traditional. And for most European language will show correct UI but in sub-menu of Charactor coding, will show either western-1252 or the coding of previous page. Also if there is no language code in sub-menu of Character coding menu which are match with the meta tags language setting of the homepage, it always has problem to dtect, unless you add the language setting in sub-menu and reload the page.
Hotta-san, Netscape does not detect meta charset correctly. Please work with Yuying to solve this problem.
Atcually, I think the problem is when there is no language code setting other than Western(iso-8859-1) in View > Charactor coding, sub-menu, netscape will not pick-up the correct language code setting even the setting already in "meta-tags".
Keywords: regression
Looks like META charset is not workin, cc to harishd and vidur, can this be related to vidur's check in (I see many parser related changes)?
Priority: P3 → P1
Assignee: nhotta → harishd
Summary: Unicode pages viewing incorrectly → Regression: META charset ignored
Changed the summary and reassign to harishd.
Adding intl keyword. Harish, what is a status of this bug?
Keywords: intl
nhotta, I think (~99%) the problem is with nsPromiseFlatString. I didn't get the time yesterday to completely go thro' it, since I's working on another smoke test blocker. Will look into the problem today.
Status: NEW → ASSIGNED
Okay, I have a tentative(!) patch.. Will post it soon.
Adding myself to CC list Using Mozilla 2000121520 on Windows 2000. It's a very annoying bug. I always have to set Character Coding manually but pages that I visit have <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2"> tag included.
Whiteboard: Fix in hand
sr=vidur. The unused nsMetaCharsetObserver::Notify() methods should be eliminated.
Filed a bug 63194 for unused nsMetaCharsetObserver::Notify().
r=ftang go ahead
Please check in ASAP.
*** Bug 63460 has been marked as a duplicate of this bug. ***
Fix is in..
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Keywords: nsbeta1
verified fixed on commercial builds windows 2000-12-26-06-mtrunk linux 2000-12-26-06-mtrunk mac 2000-12-26-08-mtrunk
Status: RESOLVED → VERIFIED
Verified fixed on 12-26 Mtrunk build: WinME: Problem with Korean and Simplify Chinese. Korean(http://home.netscape.com/ko/): can detect the page as EUC_KR but doesn't display correctly at all. Simplify Chinese(http://home.netscape.com/zh/cn/): can detect the page as GB2312 but many Chinese characters show "?". However, Linux and Mac build work good.
I have another bug 63769 for the problem that I found today.
Using of META tag is correct now. But After you view a page with META charset set and then going to a page wich does not have META charset set (a lot of english/american sites) stil show that the charset from previous page is used. At least it is shown in View -> Charset Coding menu like it has not bin changed to Mozilla default coding. Using Mozilla 2000122620
Hmmm this one should be reopened. Using build 2001010221 the META with charset is still ignored if the meta tag is specified after script tag with src attribute. See my attachments.
The problem mentioned by Tom Mraz also happens with NS6 RTM, so it's a different problem. It might be related to bug 61462.
n4 has really wierd behavior for 21729.
Hmmm... it's probably the same problem as in bug 61462 - I'll report it there.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: