cast to unsigned char for each use of isspace
Merge pull request #7472 from tkelman/isspace-uchar

cast to unsigned char for each use of isspace