Closed Bug 27454 Opened 26 years ago Closed 24 years ago

This page is loaded as blank when charset is set to Shift_JIS

Categories

(Core :: Internationalization, defect, P3)

defect

Tracking

()

VERIFIED FIXED
mozilla0.9

People

(Reporter: teruko, Assigned: shanjian)

References

()

Details

(Keywords: intl)

Attachments

(1 file)

When you set Character set menu to Shift_JIS and go to the page, the page is loaded as blank. Steps of reproduce 1. Launch Seamonkey 2. Change Character set menu to Shift_JIS 3. Go to above URL The page is loaded as blank. If you change Character set menu to something other character set, Western or Japanese (ISO-2022-JP), the page will be loaded correctly. Tested 2000021108 Win32 and 2000021111 Linux build.
assign as M16.
Status: NEW → ASSIGNED
Target Milestone: M16
This is because when we set the default charset to a multibyte but incorrect charset, we convert the byte into PRUnichar and may *eta* some tag, after that, the parser won't parse the META tag correctly and our meta tag observer will never get the meta tag notification to figure the real one. Solution, put some byte based (instead of PRUnichar based) scanning code as cxue did in the PeekMetaCharset function in 2.0. Put into the parser and run for the first block as we currently did for the xml encoding. This bug only happen if there are non ASCII before the META tag. Add harishd to this bug.
should consider bug 26651 when we decide our plan.
Target Milestone: M16 → M18
charset handling and converter related issue. REassign to cata and cc jbetak.
Assignee: ftang → cata
Status: ASSIGNED → NEW
Status: NEW → ASSIGNED
Keywords: nsbeta2
Putting on [nsbeta2-] radar. Not a stop ship for PR2.
Whiteboard: [nsbeta2-]
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
*** This bug has been marked as a duplicate of 25037 ***
I am stupid. This is a different bug.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Target Milestone: M18 → M21
Changed QA contact to ylong@netscape.com.
Keywords: intl
QA Contact: teruko → ylong
move all cata's bug to ftang
Assignee: cata → ftang
Status: REOPENED → NEW
mark this as moz0.9
Status: NEW → ASSIGNED
Keywords: nsbeta2nsbeta1
Whiteboard: [nsbeta2-]
Target Milestone: --- → mozilla0.9
shanjian- can you help to look at this?
Assignee: ftang → shanjian
Status: ASSIGNED → NEW
Status: NEW → ASSIGNED
I could not reproduce the problem. I did try to move title which contains some multibyte character before meta tag. It is very likely that the fix in 64235 prevent us from eating additional "<" when meet illegal multibyte sequence, and thus prevent the problem from happening. Both "<" and ">" are not legal part of SJIS 2-bytes character. I would resolve this bug as fixed (by 64235). I will post a test case for QA verification. Please use a build before 03/12 to reproduce the problem.
Resolve the bug as fixed. The fix is in 64235 which has been checked in.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago24 years ago
Resolution: --- → FIXED
Fixed verified on 03-29 trunk build.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: