Closed
Bug 264014
Opened 21 years ago
Closed 21 years ago
javascript file is loaded from xul as ISO-8859-1 but realy is UTF-8
Categories
(Core :: XUL, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 241739
People
(Reporter: dainius, Unassigned)
References
()
Details
Attachments
(2 files, 1 obsolete file)
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.3) Gecko/20040921
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.3) Gecko/20040921
I can't create any element from external javascript with encoding other than
ISO-8859-1. I think browser loads script's and ignore character encoding.
Reproducible: Always
Steps to Reproduce:
1. Create javascript file with function (alert or create label ....) and user in
strings with other tan ISO-8859-1 charset
2. Create xul file with call to that function
Actual Results:
Displays characters in iso-8859-1 encoding
Expected Results:
Lithuanian characters in label and alert
| Reporter | ||
Comment 1•21 years ago
|
||
| Reporter | ||
Comment 2•21 years ago
|
||
Comment 3•21 years ago
|
||
Attachment #161855 -
Attachment is obsolete: true
Comment 4•21 years ago
|
||
Not JS engine.
Assignee: general → nobody
Component: JavaScript Engine → XP Toolkit/Widgets: XUL
QA Contact: pschwartau
Summary: javascript file is loaded from xul as ISO-8859-1 but realy is UTF-8 → javascript file is loaded from xul as ISO-8859-1 but realy is UTF-8
Comment 5•21 years ago
|
||
And a dup.
*** This bug has been marked as a duplicate of 241739 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Comment 7•21 years ago
|
||
yep, the testcase here now works correctly with the patch from bug 241739
(although it was at first a bit hard to tell for me that the output is the
expected one :-) )
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•