Getting a language alphabet from a language in Java

I am making an internationalized Java application. I need a list of all the letters in the language, starting with Locale. Have a few questions, such as Alphabet Constant in Java? or Create a list of alphabets from a list: Java that relate to the problem, but I wonder if there is a Utils class or something where it is already defined, and where I can get a list of characters or a string containing all the letters in the alphabet of the language on it Locale.

+4
source share
2 answers

Detailed information can be found in this library and methods, com.ibm.icu.util.LocaleData . Skip the argument as Locale.ENGLISHto get the English alphabets.

+4
source

There are several issues here.

First, I must point out that there are many languages โ€‹โ€‹that are not alphabets . Obviously, the Chinese or Japanese are examples of ideographic languages. Unfortunately, it will be very difficult, and nearby it is impossible to create a list of all the characters in these languages.

Secondly, although the Common Locale Data Repository and, as a result, ICUs have predefined sets of index examples and symbol examples, this information is far from complete.

-, , script ( ). , .

, , . ...

+1

All Articles