Handling Diacritics

Let’s look at how we’ll solve the problem of handling diacritics.

The problem at hand

If we play a few games in Spanish or French, we’ll notice that the letters “e” and “'e” are different. The general problem is how to handle diacritics, including accents, umlauts, and so on. In the current version of the game, when the secret word includes a diacritic, guessing the word spelled with “e” instead of "'e"counts as a bad guess. Is that the desired behavior?

Imagine that we’ve designed this web application and are now halfway through developing it, and realize that there are issues appearing across languages. This is a good thought exercise because surprises will inevitably arise in the development of any new and moderately ...