Inspect Unicode characters and display tables with code points, names, glyphs, and encodings (UTF-8/16/32) in hexadecimal and bits
Project description
unicode-inspect
Inspect Unicode characters and display tables with code points, names (character concepts), glyphs, and encodings (UTFโ8/16/32) in hexadecimal and bits.
Local installation
pip install -e .
Requirements: Python >= 3.8
CLI usage
unicode-inspect "Aโฌ๐"
Example output (default table format):
โโโโโโโโโโโโโโโโคโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโคโโโโโโโโโโโโโโโโโโโโโโโโโคโโโโโโโโโโโโคโโโโโโโโโโโโโโโคโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Code point โ Character concept (Unicode name) โ Visual representation (glyph) โ Decimal โ UTF-8 (hex) โ UTF-8 (bit) โ
โโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโผโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ U+0041 โ LATIN CAPITAL LETTER A โ A โ 65 โ 41 โ 01000001 โ
โ U+20AC โ EURO SIGN โ โฌ โ 8364 โ E2 82 AC โ 11100010 10000010 10101100 โ
โ U+1F600 โ GRINNING FACE โ ๐ โ 128512 โ F0 9F 98 80 โ 11110000 10011111 10011000 10000000 โ
โโโโโโโโโโโโโโโโงโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโงโโโโโโโโโโโโโโโโโโโโโโโโโงโโโโโโโโโโโโงโโโโโโโโโโโโโโโงโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Change format
unicode-inspect "โฌ" --format markdown
unicode-inspect "โฌ" --format csv
unicode-inspect "โฌ" --format json
Add an additional encoding (besides UTF-8)
unicode-inspect "โฌ" --encoding utf-16-le
Notes
- Control, surrogate, or unassigned characters are shown with a placeholder
โฃin the glyph column. - UTF-8 is always displayed; the
--encodingoption adds columns for a second encoding. - Use
--no-headerfor compact script-friendly tables.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file unicode_inspect-0.1.0.tar.gz.
File metadata
- Download URL: unicode_inspect-0.1.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8282898fea6b595f8dd19bbec1c8e9ed266195eba5cc7cbdcb01bc97d38e5c59
|
|
| MD5 |
29085bb0e8d29c2a0141e39a2300fe08
|
|
| BLAKE2b-256 |
af3a0b69b14c50e7826240313a456ee64545eba13fed03354d22a505c5c2764b
|
File details
Details for the file unicode_inspect-0.1.0-py3-none-any.whl.
File metadata
- Download URL: unicode_inspect-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e23aef04b16613ace7f795eabc59a6587e1255cdbb8cbfc0c79c70afc307256
|
|
| MD5 |
c2e31d7e0df20b7781b24bfc45a6d0e9
|
|
| BLAKE2b-256 |
d9b719d9d4c44018afe2abe42c559087cc9859ff361d09575696a33649796ca9
|