> is-unicode-supported
Detect whether the terminal supports advanced Unicode.
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.
⚡ Installation
pip install is-unicode-supported
💻 Command line usage
is-unicode-supported # or supportsunicode
# e.g. => True
CLI options:
| Option | Description |
|---|---|
-h, --help |
Show help screen |
-v, --version |
Show version |
--docs |
Open docs URL |
🔌 API usage
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.
MIT License
Copyright © 2026 Adam Lui
Related
🇪🇸 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.
Metadata
Release files for is-unicode-supported 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| is_unicode_supported-1.2.1.tar.gz | 17.1 kB | Without provenance | Details for is_unicode_supported-1.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| is_unicode_supported-1.2.1-py3-none-any.whl | Python 3 | none | any | Details for is_unicode_supported-1.2.1-py3-none-any.whl |
Total release size: 36.3 kB
Release files / is_unicode_supported-1.2.1.tar.gz
| Download URL | is_unicode_supported-1.2.1.tar.gz |
|---|---|
| Size | 17.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a7ffdf5a0b73ca9a7159a5aca35c284ce071cfa227432b14c418e97366c49d0a
|
|
BLAKE2b-256 checksum How to use checksums |
a68aace3d0fbfe9642da1281f748d5aff7d8d66752f67bb4cc8dc63b7e3f8fa1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.2
|
Release files / is_unicode_supported-1.2.1-py3-none-any.whl
| Download URL | is_unicode_supported-1.2.1-py3-none-any.whl |
|---|---|
| Size | 19.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dcfde68953a2bbb1d243fc94d853a82cf21454e71ce43c9695cabb55a2020e38
|
|
BLAKE2b-256 checksum How to use checksums |
0d70a00b30e6780d0d9ea0b0fdc4e72cb5256d5bb82ed74e25fc5645162f61ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.2
|
Security for is-unicode-supported 1.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.