Closed
Bug 83092
Opened 23 years ago
Closed 21 years ago
Date.toLocaleString() should return a Unicode string
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 153586
Future
People
(Reporter: mozilla-bugs, Assigned: khanson)
References
Details
(Keywords: intl)
Attachments
(1 file)
If I create a localized string using Date.toLocaleString and then document.write
the result, it is always displays in what looks like an iso-8859-1 font, no
matter what. The right behaviour would be to use a font compatible with my local
settings (or at least the same font as for the rest of the document).
Reporter | ||
Comment 1•23 years ago
|
||
Reporter | ||
Comment 2•23 years ago
|
||
P.S. I have the following locale settings in my environment:
LANG=ru_RU.KOI8-R
LC_NUMERIC=C
P.P.S. I am currently using build id 2001052510 on RedHat Linux 7.1, but I had
the same problem with other versions of Mozilla on other versions of RedHat and
with NN4 as well.
Comment 3•23 years ago
|
||
Date.toLocaleString may not returning unicode string or a generic document.write
issue.
Does document.write(\uxxxx) works?
Keywords: intl
Reporter | ||
Comment 4•23 years ago
|
||
document.write("\uxxxx") does the right thing, so it's the toLocaleString that
needs fixing. Updating the summary.
Summary: document.write of non-ASCII string never displayed with right font → Date.toLocaleString should return a unicode string
Comment 5•23 years ago
|
||
Change component JavaScript and reassign to rogerl.
Assignee: nhotta → rogerl
Component: Internationalization → Javascript Engine
Comment 7•23 years ago
|
||
pushing out. 0.9.2 is done. (querying for this string will get you the list of
the 0.9.2 bugs I moved to 0.9.3)
Target Milestone: mozilla0.9.2 → mozilla0.9.3
Comment 8•23 years ago
|
||
Doesn't look like this is getting fixed before the freeze tomorrow night.
Pushing out a milestone. Please correct if I'm mistaken.
Target Milestone: mozilla0.9.3 → mozilla0.9.4
Updated•23 years ago
|
QA Contact: andreasb → teruko
Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla0.9.4 → mozilla0.9.5
Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla0.9.5 → mozilla0.9.6
Assignee | ||
Comment 10•23 years ago
|
||
retargeting for future.
Target Milestone: mozilla0.9.6 → mozilla0.9.7
Assignee | ||
Comment 11•23 years ago
|
||
Really putting this bug into the future.
Status: NEW → ASSIGNED
Target Milestone: mozilla0.9.7 → Future
Comment 13•22 years ago
|
||
dup of bug 153586?
Comment 14•22 years ago
|
||
cc'ing Mike: do you think these two bugs are duplicates? Note the
other one was filed on Windows; this one on Linux -
Summary: Date.toLocaleString should return a unicode string → Date.toLocaleString() should return a Unicode string
Reporter | ||
Comment 15•21 years ago
|
||
This works for me in BuildID 2003102323, probably because it is indeed a dup of
bug 153586 that was recently fixed.
*** This bug has been marked as a duplicate of 153586 ***
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Comment 16•21 years ago
|
||
Aleksey: thanks for reporting back - marking Verified Duplicate
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•