Apparently, localeCompare ignores the locale settings. [*] Do I blame node for this, or is it a V8 shortcoming? If the former, consider this a feature request. Or is there a bug tracker I should use for this?
[*] Evidence: ; locale | grep LC_COLLATE LC_COLLATE="nb_NO.utf8" ; node > var x='æ', y='å' undefined > x.localeCompare(y) 1 (the correct answer is negative) This is on linux. I have verified that both python and /usr/bin/sort get it right, so the host locale implementation is not to blame. - Harald -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en