Closed
Bug 93343
Opened 23 years ago
Closed 23 years ago
UTF-16 page displayed incorrectly
Categories
(Core :: Internationalization, defect)
Tracking
()
VERIFIED
FIXED
mozilla0.9.6
People
(Reporter: mseitz, Assigned: ftang)
References
()
Details
(Keywords: intl, regression)
Attachments
(1 file)
(deleted),
patch
|
harishd
:
review+
vidur
:
superreview+
|
Details | Diff | Splinter Review |
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.2) Gecko/20010628
BuildID: 2001080203
Instead of rendering the page, Mozilla displays the page source. The source
appears as ASCII characters with rectangle characters between each ASCII
character. It appears the page source is in UCS16 format but Mozilla is
treating it as an ASCII text file.
Reproducible: Always
Steps to Reproduce:
1. Go to www.sellsbrothers.com/tools
Actual Results: A distorted version of the page source was displayed
Expected Results: The page source should be interpreted and rendered.
Comment 1•23 years ago
|
||
Interesting.... here's what I see with linux build 2001080208. The page source
is shown. If I delete the first two bytes of the file, the source is only shown
if charset autodetect is:
Off, Russian, Ukrainian, East Asian, Japanese,
For other values of autodetect (Korean and the various Chinese ones), the page
is detected as UTF-16LE and shown correctly...
Assignee: asa → yokoyama
Status: UNCONFIRMED → NEW
Component: Browser-General → Internationalization
Ever confirmed: true
QA Contact: doronr → andreasb
Comment 2•23 years ago
|
||
I checked the nsParser code but it's still there.
http://lxr.mozilla.org/seamonkey/source/htmlparser/src/nsParser.cpp#2601
ylong: Is this regression?
I can't reproduce this using NS6.1
However, I see it using trunk 20010730
==== assigning to ftang.========
Assignee: yokoyama → ftang
Comment 3•23 years ago
|
||
I guess it's a regression:
I can reproduce it on my Win2k-CN on 07-25 branch build, but 07-19 branch build
is OK.
Comment 6•23 years ago
|
||
reassigning per ftang's request
Assignee: ftang → jbetak
Status: ASSIGNED → NEW
Comment 7•23 years ago
|
||
accepting and targeting post-0.9.4. Will clarify with ftang, whether this is
acceptable...
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.5
Updated•23 years ago
|
Target Milestone: mozilla0.9.5 → mozilla0.9.6
Assignee | ||
Comment 8•23 years ago
|
||
The meta tag said charset=unicode
It does have a BOM in front.
move back to ftang to look at
Assignee: jbetak → ftang
Status: ASSIGNED → NEW
Assignee | ||
Comment 9•23 years ago
|
||
mark it as assign
Status: NEW → ASSIGNED
Summary: UCS16 page displayed incorrectly → TF-16 page displayed incorrectly
Assignee | ||
Comment 10•23 years ago
|
||
It looks like vidur's 3.254 check in cause this problem. Vidur, we should only
ignore those UTF-16/32 when we get them from meta tag. We should not ignore them
if we get them from the byte order mark.
Summary: TF-16 page displayed incorrectly → UTF-16 page displayed incorrectly
Assignee | ||
Comment 11•23 years ago
|
||
Assignee | ||
Comment 12•23 years ago
|
||
I think this is introduce after n6.1 beta. regression.
harishd- can you r= this
vidur- can you sr= this?
Keywords: regression
Comment 13•23 years ago
|
||
Comment on attachment 53819 [details] [diff] [review]
patch
r=harishd.
Suggestion: nsICharsetAlias
creation could be delayed.
Attachment #53819 -
Flags: review+
Assignee | ||
Updated•23 years ago
|
Assignee | ||
Updated•23 years ago
|
Comment 14•23 years ago
|
||
Comment on attachment 53819 [details] [diff] [review]
patch
sr=vidur
Attachment #53819 -
Flags: superreview+
Assignee | ||
Updated•23 years ago
|
Assignee | ||
Comment 15•23 years ago
|
||
fixed and check in
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 16•23 years ago
|
||
Works for me in build 2001110903
Comment 17•23 years ago
|
||
It display fine on 11-16 trunk build, mark it as verified.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•