For example, the ISO language code of German language is de
.
How do I get all unicode characters of that language in Python?
If that's not directly possible, how about the following:
Given an ISO language code (say de
),
- How do I find the script name given an ISO language code?
(For example, script used for German is Latin)
>>> import unicodedata as ud
>>> ud.name('ß')
'LATIN SMALL LETTER SHARP S'
- Now using this script name, how do I get all the unicode characters of that script?