Quote Originally Posted by Sagittarian View Post
Edit: I thought about how they are probably doing the text recognition. They probably have to change all the text into unicode before they compare it with the key value. Capital and lowercase letters have different unicode values. So to check something like "wItH tHe WiNd" while ignoring all capitalization would mean all combinations of lowercase and uppercase have to be considered. That would require up to 2^11=2048 comparisons. And you know *someone* would try to break it by entering as long a string as they could. Rather than poor planning it was probably deemed too resource intensive.
I would assume the game is in unicode already. As for string comparison. Most often one takes the string and does to lower or to upper and then compares that against the string looking for. That way you don't care about case at all.