What do I use to perform a case-insensitive comparison on two UTF-8 encoded sub-strings? Essentially, I’m looking for a strnicmp function for UTF-8.
What do I use to perform a case-insensitive comparison on two UTF-8 encoded sub-strings?
Share
Case conversion rules in various Unicode scripts are murderously difficult, it requires large case conversion tables. You cannot get this right yourself, you’ll need a library. ICU is one of them.