Closed
Bug 290052
Opened 20 years ago
Closed 20 years ago
Bug in javascripts Date::toLocaleString()
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 153586
People
(Reporter: gdamjan, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; mk-MK; rv:1.7.6) Gecko/20050322 Firefox/1.0.2 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; mk-MK; rv:1.7.6) Gecko/20050322 Firefox/1.0.2 This javascript code is simplified from what's on palnet.mozilla.org: now = new Date(); now.toLocaleString(); The problem is that on Linux, with a UTF-8 locale (mk_MK.UTF-8), the toLocaleString returns garbage. Some experiments show that the UTF-8 string returned by the C library is then converted from iso-88591 to UTF-8 - this conversion doesn't make any sense. Reproducible: Always Actual Results: вÑо, 12 Ð°Ð¿Ñ 2005 14:43:00 CEST Expected Results: вто, 12 апр 2005 14:43:00 CEST
Comment 2•20 years ago
|
||
Damjan, please see bug 153586 comment 82. Try this on a recent nightly trunk build and reopen if you can reproduce the error. *** This bug has been marked as a duplicate of 153586 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
| Reporter | ||
Comment 3•20 years ago
|
||
g(In reply to comment #2) > Damjan, please see bug 153586 comment 82. Try this on a recent nightly trunk > build and reopen if you can reproduce the error. The bug is solved in trunk versions... any chance of this getting in to 1.0.3 or 1.0.4?
Comment 4•20 years ago
|
||
1.0.3 is definitely locked down for security work only and I believe that further development on the 1.7 branch is limited as well.
You need to log in
before you can comment on or make changes to this bug.
Description
•