Good evening, I hope you can help me with this problem, as I struggle to find solutions.
I have a provider of words that give me, for example, words from Hebrew, -
Vocals - ื ึทึผ ืึดืช not vowel - ืืืช
Vowel - ื ึท ื ึทึผ ืึฐืชึธื Non-Vowel - ืืืืชื
Unlike my provider, my user cannot normally enter Hebrew vowels (and I do not want him to do this). A user story is a user searching for a word in the provided words. The problem is the comparison between vowels and unglazed words. Since each of them is represented by a different byte array in memory, the equals method returns false.
I tried to understand how UTF-8 handles Hebrew vowels, and it seems like these are just normal characters.
I want to present vowels to the user, so I want to keep the string as it is in memory, but when comparing, I want to ignore them. Is there an easy way to solve this problem?
source share