Make sure isspace gets a valid character.

Because char is signed on MSVC, and isspace casts the char to an int,
isspace was interpreting high characters as being below -1 and bombing
out.  This should fix that.