Skip to main content

> 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.

More Python utilities / Discuss / Report bug / Report vulnerability / Back to top ↑

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

is_unicode_supported-1.2.1.tar.gz (17.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

is_unicode_supported-1.2.1-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

Details for the file is_unicode_supported-1.2.1.tar.gz.

File metadata

  • Download URL: is_unicode_supported-1.2.1.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for is_unicode_supported-1.2.1.tar.gz
Algorithm Hash digest
SHA256 a7ffdf5a0b73ca9a7159a5aca35c284ce071cfa227432b14c418e97366c49d0a
MD5 5fd6dc55ea0c548cf9e7578671c14ca4
BLAKE2b-256 a68aace3d0fbfe9642da1281f748d5aff7d8d66752f67bb4cc8dc63b7e3f8fa1

See more details on using hashes here.

File details

Details for the file is_unicode_supported-1.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for is_unicode_supported-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dcfde68953a2bbb1d243fc94d853a82cf21454e71ce43c9695cabb55a2020e38
MD5 6aa0ca16c759c551833bd166a76cbcc1
BLAKE2b-256 0d70a00b30e6780d0d9ea0b0fdc4e72cb5256d5bb82ed74e25fc5645162f61ce

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.2.1 This release

2 files

1.2.0

2 files

1.1.2

2 files

1.1.1

2 files

1.1.0

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page