Crash in ToLowercase()

Thanks @dgobbi, I’ll look into that. It is very old code! All those ints!

Probably something like:

std::tolower(c, std::locale())

wil do the trick.

I think std::locale() should be sufficient.