Well, it was kind of a similar problem. it was casting from char to int in a way that was doing some weird things.
Should be fixed now; it'll need some testing to make sure I didn't break something else.