Posts Tagged ‘webdev’

Join #webdevpdx on Freenode

Friday, October 31st, 2008

Chris just created a channel for web developers in Portland, OR on Freenode, so if you’re a web developer (or sysadmin or dba or designer or manager forced to deal with us webdevs) come on in!

#webdevpdx on irc.freenode.net

New to IRC? Try one of these clients:

Update: I should have mentioned I’m schmichael on IRC.

JavaScript Collation Fail

Monday, July 14th, 2008

In JavaScript, the localeCompare method on Strings seems like a great way to properly sort strings, but its not:
localeCompare Javasript method in 4 browsers
Hint: The last line should all look the same. At least I expect Firefox and Opera to agree. You can’t expect much from IE6.

For kicks try out other browsers and post the final sorted list in the comments (hopefully my blog supports unicode).