Closed
Bug 484015
Opened 16 years ago
Closed 3 years ago
Unit test /netwerk/test/unit/test_bug419157.js fails on Japanese Windows
Categories
(Core :: Networking, defect, P5)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: masa141421356, Unassigned)
References
Details
(Whiteboard: [necko-would-take])
Unit test test_bug419157.js fails on Windows XP Japanese Edition.
Updated•16 years ago
|
Component: Download Manager → Networking
Product: Toolkit → Core
QA Contact: download.manager → networking
Reporter | ||
Updated•16 years ago
|
Summary: Unit test /netwerk/test/test_bug419157.js fails on Japanese Windows → Unit test /netwerk/test/unit/test_bug419157.js fails on Japanese Windows
Reporter | ||
Comment 1•16 years ago
|
||
I inserted following code before
do_check_eq(result, expected);
------------------
var t = "";
for (i = 0; i < expected.length; i++) {
t = t + " " + expected.charCodeAt(i).toString(16);
}
dump("expected=" + t + "\n");
t = "";
for (i = 0; i < result.length; i++) {
t = t + " " + result.charCodeAt(i).toString(16);
}
dump("result =" + t + "\n");
-----------------------
And, Its result is here:
expected= 49 54 38 33 39 4 b5 28 6d 38 29 32 2e 70 64 66
result = 49 54 38 33 39 4 ff75 28 6d 38 29 32 2e 70 64 66
-----------------------------------------
So, 0xB5 is decoded as ff75.
DBCS charset of Japanese Windows is Shift_JIS , not Latin-1.
And, At Shift_JIS, 0xB5 is mapped to Unicode U+ff75.
Updated•9 years ago
|
Whiteboard: [necko-would-take]
Comment 2•7 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P5
Comment 3•3 years ago
|
||
Can anyone still repro this issue or should we close it?
Comment 4•3 years ago
|
||
Marking this as Resolved > Incomplete due to the lack of info.
If anyone is able to reproduce this issue re-open it or file a new bug.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•