Turning a Hebrew Word into English Symbols

I need open source Java code that converts a Hebrew string to a string with English characters, for example: converts the word "Χ©ΧœΧ•Χ" to "shalom"

+4
source share
2 answers

You can use the ICU transliterator. http://userguide.icu-project.org/transforms/general#TOC-Script-Transliteration

If this does not meet your needs, look at the Hebrew transliterator, you are sure to find it.

+1
source

Another way you could go is to use a Unicode transliterated font, but this will only work for display, which will not help if you really need the equivalent of "English" or "IPA".

You can check out a transliteration library such as. CHEERS

0
source

Source: https://habr.com/ru/post/1440708/


All Articles