Checks if terminal supports advanced Unicode (CJK, emoji, etc.) by measuring the cursor position of a single, wide char (𠀀). Returns False for legacy consoles or True if the wide char renders as 2 columns.
pip install is-unicode-supportedis-unicode-supported # or supportsunicode
# e.g. => TrueCLI options:
| Option | Description |
|---|---|
-h, --help |
Show help screen |
-v, --version |
Show version |
--docs |
Open docs URL |
import is_unicode_supported
if is_unicode_supported():
print('Advanced Unicode supported!')
else:
print('Advanced Unicode not supported!')Note: Most type checkers will falsely warn is_unicode_supported is not a callable module because they are incapable of analyzing runtime behavior (where the module is replaced w/ a function for cleaner, direct access). You can safely suppress such warnings using # type: ignore.
Copyright © 2026 Adam Lui
🇪🇸 latin-locales - ISO 639-1 (2-letter) codes for Latin locales.
🇨🇳 non-latin-locales - ISO 639-1 (2-letter) codes for non-Latin locales.
🌍 translate-messages - Translate en/messages.json (chrome.i18n format) to 100+ locales automatically.


