Fix #1668: whiteSpace in _scanString should use only char codes as keys

The char code for ```\t``` is ```9``` thus ```9``` was an index of whiteSpace. If you now check if a character is a key in whiteSpace ```9``` will be detected as white space, too. To fix this I changed all checks to only use char codes.