Regarding the question in the title, you will need to conduct an extensive study of the use of symbols in the languages of the world. There are several thousand languages, although many of them do not have a regular writing system; on the other hand, in some languages there are several writing systems. Different language options may have different character repertoires.
Thus, it will be a serious effort, although some data has been compiled, for example. CLDR’s repertoire, but the concept of “characters used in the language” is far from clear. (Are the characters æ, è, and ö used in English? They necessarily appear in some forms of written English.)
Thus, it would be unrealistic to expect that a library routine would be found for such purposes.
Apparently, your real need was to determine if the symbol is a symbol from left to right or right to left. But for completeness, I gave an answer to what you actually asked, and this may be relevant in some other contexts.
Jukka K. Korpela
source share