@Wain
Am I reading that right? Does the above code support up to base 36?
It sure does. Apparently there are different kinds of implementations of the function (it's non-std after all).
This one looks quite complete. Check the discussion in the google link of my previous post.
[oops, the link was broken, fixed now..]