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)

x86
Windows XP
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: masa141421356, Unassigned)

References

Details

(Whiteboard: [necko-would-take])

Unit test test_bug419157.js fails on Windows XP Japanese Edition.
Component: Download Manager → Networking
Product: Toolkit → Core
QA Contact: download.manager → networking
Summary: Unit test /netwerk/test/test_bug419157.js fails on Japanese Windows → Unit test /netwerk/test/unit/test_bug419157.js fails on Japanese Windows
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.
Whiteboard: [necko-would-take]
Priority: -- → P5

Can anyone still repro this issue or should we close it?

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.