Quote
it's just incorrectly returning a character that's not part of the string base "0123546789"
Ah, now your bug report makes sense :-) An explanation always helps.

It looks like this is due to the recent change to $base(). I think I've found a solution but it will need testing. This change will be in the next beta.