-
-
Notifications
You must be signed in to change notification settings - Fork 37.7k
String::localeCompare support required. #12529
Copy link
Copy link
Closed
Labels
docIssues and PRs related to Node.js documentation.Issues and PRs related to Node.js documentation.i18n-apiIssues and PRs related to Node.js internationalization support.Issues and PRs related to Node.js internationalization support.
Description
Activity
Metadata
Metadata
Assignees
Labels
docIssues and PRs related to Node.js documentation.Issues and PRs related to Node.js documentation.i18n-apiIssues and PRs related to Node.js internationalization support.Issues and PRs related to Node.js internationalization support.
The following code will print
["矮", "笨", "吃", "a", "b", "c"]in a uptodate browser, which is expected. But nodejs will print["a", "b", "c", "吃", "矮", "笨"]for the same code, which is not reasonable for chinese users.Hope the String::localeCompare() function can be supported better, this is very useful for non-english-speaking users. thx :)