Closed
Bug 125315
Opened 23 years ago
Closed 23 years ago
JS write() including charset display characters inccorectly
Categories
(Core :: Internationalization, defect)
Core
Internationalization
Tracking
()
VERIFIED
FIXED
mozilla1.0
People
(Reporter: chado_moz, Assigned: harishd)
References
Details
(Keywords: intl, regression, topembed+, Whiteboard: [adt1])
This problem appeared after bug 104227 was fixed.
JS document.write() with meta statement including some charset display
characters, depend on charset, incorrectly.
Meta statment means like this:
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=Shift_JIS">
Japanese characters are displayed incorrectly,
although English characters are displayed correctly.
I have testcases:
http://www2.wbs.ne.jp/%7Echado/work/js_write2/js_write2_sjis.html (Shift_JIS).
http://www2.wbs.ne.jp/%7Echado/work/js_write2/js_write2_euc.html (EUC-JP).
note: these testcases require Japanese language supported system with
Japanese fonts. What should be seen are in it.
In these testcases, Japanese characters are displayed correctly only when
no charset was included. NC4.79-us for mac9 renders correctly in all cases.
I've not tested other charsets since I don't have environment for those.
Reproducible : Always.
Builds I've tried:
Mac9 2002-02-04-08-trunk, 2002-02-11-08-trunk.
Win98 2002-02-04-11-trunk, 2002-02-12-10-trunk.
Comment 1•23 years ago
|
||
it happen in my 2002012806 window build. I think we should take a look at it. It
may represent some common JavaScript usage.
Comment 2•23 years ago
|
||
The biggest problem is all the text write to the document AFTER the meta won't
be display.
4.x work. Not sure about n6.0 or n6.1. teruko, please try it.
nsbeta1+
harishd, is this related to your change several monthes ago?
Updated•23 years ago
|
Status: NEW → ASSIGNED
2001-09-28-16-trunk on win98 works fine. That build is the
last one (that I have) before the bug 104227 has appeared.
Also N6.1J, N6.2J and N6.2.1J (commercial) work fine so far.
I've re-written testcase :
http://www2.wbs.ne.jp/%7Echado/work/js_write2_2/js_write2_sjis.html
and have confirmed that ISO-8859-1 works.
Ftang: I'm worrying about that 2002012806 should be showing different
behavior from what I'm seeing. same about bug 125317. sorry if not so.
Comment 5•23 years ago
|
||
I don't think I am the right owner for this.
harishd/shanjian: can either of you take ownership of this?
Comment 6•23 years ago
|
||
looking at 104227, assiging to original owner-harishd
Assignee: yokoyama → harishd
Status: ASSIGNED → NEW
Comment 8•23 years ago
|
||
harishd, this bug only include unit test example. For real life example at the
bug 122507 for real usage.
No longer blocks: 122507
Comment 9•23 years ago
|
||
harishd, I think I know what happen here. Hope you don't mind I move this bug back.
Assignee: harishd → ftang
Comment 11•23 years ago
|
||
see patch in 125317
Comment 12•23 years ago
|
||
reassign back to harishd, please fix it whenever you can.
Assignee: ftang → harishd
Status: ASSIGNED → NEW
Comment 13•23 years ago
|
||
This sounds like it might effect our embedding efforts international as well.
Adding topembed. Pls correct ME, if I am incorrect with a hearty minus or
clearing the keyword.
Keywords: topembed
Comment 14•23 years ago
|
||
heikki and harishd, could you put priority on this one ? I think this is a adt2 bug
Updated•23 years ago
|
Assignee | ||
Comment 15•23 years ago
|
||
FYI: I'm working on a solution that would target only document.writes.
Comment 16•23 years ago
|
||
This bug is blocking my adt1 bug
If so, then please mark the dependency and add adt1 to status whiteboard.
Comment 18•23 years ago
|
||
I ask hekki and harishd put adtxxx on status several times. Due to lack of
action, I put [adt1] on the status board for now since it block adt1 bug 122057
Blocks: 122057
Whiteboard: [adt1]
I think you meant bug 122507.
Comment 20•23 years ago
|
||
the patch v1.5 in 125317 fix this problem .
Assignee | ||
Comment 21•23 years ago
|
||
Frank: So can we mark this bug a dupe of bug 125317?
Assignee | ||
Comment 22•23 years ago
|
||
Closing the bug based on ftang's comment ( #20 )
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•