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)
Core
Internationalization
Tracking
()
VERIFIED
FIXED
mozilla0.9
People
(Reporter: teruko, Assigned: shanjian)
References
()
Details
(Keywords: intl)
Attachments
(1 file)
50.45 KB,
text/html
|
Details |
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.
Comment 2•25 years ago
|
||
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.
Updated•25 years ago
|
Target Milestone: M16 → M18
Comment 4•25 years ago
|
||
charset handling and converter related issue. REassign to cata and cc jbetak.
Assignee: ftang → cata
Status: ASSIGNED → NEW
Putting on [nsbeta2-] radar. Not a stop ship for PR2.
Whiteboard: [nsbeta2-]
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Comment 7•25 years ago
|
||
I am stupid. This is a different bug.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Updated•25 years ago
|
Target Milestone: M18 → M21
Reporter | ||
Comment 8•25 years ago
|
||
Changed QA contact to ylong@netscape.com.
Keywords: intl
QA Contact: teruko → ylong
Comment 10•25 years ago
|
||
mark this as moz0.9
Comment 11•24 years ago
|
||
shanjian- can you help to look at this?
Assignee: ftang → shanjian
Status: ASSIGNED → NEW
Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 12•24 years ago
|
||
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.
Assignee | ||
Comment 13•24 years ago
|
||
Assignee | ||
Comment 14•24 years ago
|
||
Resolve the bug as fixed. The fix is in 64235 which has been checked in.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago → 24 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•