Fix #1668: whiteSpace in _scanString should use only char codes as keys not chars and char codes.