Closed
Bug 440587
Opened 16 years ago
Closed 6 years ago
String.localeCompare produces the same result regardless of local setting. This is required to correctly sort a list of text items in the users default language.
Categories
(Tamarin Graveyard :: Virtual Machine, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
Future
People
(Reporter: cpeyer, Unassigned)
References
Details
Steps to reproduce:
On Windows
1. Execute sample code below
2. Under Control Panel , Regional Settings in the Regional Options tab, select English (United States)
3. Press the compare button
4. Under Control Panel , Regional Settings in the Regional Options tab, select French(France)
as:
function MyCompare() : void
{
var s:String = "c?te";
myText.text = s.localeCompare("cot?").toString();
}
MyCompare();
Actual Results: In both cases the comparison returns a negative number.
Expected Results: The text displays 133 for the English setting and a negative number with the French Setting.
Workaround (if any): None.
A prototype implemention for Mac and Windows can be found in: in flashfarm:1666 and //depot/users/gs/main/player/FlashPlayer. See Changelists 415177, 414259.
Transferred Comments:
Chris Peyer - Thu Jun 19 18:36:14 CDT 2008
Changed code to be as only.
Reporter | ||
Updated•16 years ago
|
Flags: in-testsuite?
Flags: flashplayer-triage+
Flags: flashplayer-qrb?
Updated•16 years ago
|
Blocks: AS3_Builtins
Flags: flashplayer-qrb? → flashplayer-qrb+
Target Milestone: --- → Future
Updated•15 years ago
|
Flags: flashplayer-needsversioning?
Updated•15 years ago
|
Flags: flashplayer-needsversioning? → flashplayer-needsversioning+
Summary: String.localeCompare produces the same result regardless of local setting. This is required to correctly sort a list of text items in the users default lanaguage. → String.localeCompare produces the same result regardless of local setting. This is required to correctly sort a list of text items in the users default language.
Comment 1•6 years ago
|
||
Tamarin is a dead project now. Mass WONTFIX.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Comment 2•6 years ago
|
||
Tamarin isn't maintained anymore. WONTFIX remaining bugs.
You need to log in
before you can comment on or make changes to this bug.
Description
•