What would the mechanism behind case-insesitive string compare be? How would you program out all the edge cases?
Or, more likely, by using a library like ICU.
Care to explain in more detail?
See the standard https://www.unicode.org/versions/Unicode11.0.0/ch05.pdf for the most commonly used example of Turkish i, but there are others.
> the full case foldings are superior: for example, they allow "MASSE" and "Maße" to match.
Yes in the basic SMTP RFC, but there are extensions that allow non-ascii local-parts.