8bit
Generate a mapping from legacy 8-bit encodings to Unicode.
HTML output: https://tripleee.github.io/8bit/ (QWERTesy of https://github.io/)
See the HTML page for an explanation of the output format and additional usage instructions.
Command-line use
You can pass in a "mystery string" and have it decoded in various ways.
bash$ 8bit 
'W\x8b\xab': ['cp037', 'cp273', 'cp500', 'cp1026', 'cp1140']
'\x8b\xaf\xa8': ['cp437', 'cp850', 'cp857', 'cp858']
'\xef\xbb\xbf': ['cp1252', 'cp1254', 'cp1258', 'iso8859_9', 'iso8859_15', 'latin_1', 'palmos']
'\xdd\xfd\xb9': ['hp_roman8']
'\x95\xdf\xc0': ['mac_croatian']
'\x95\xc8\xc0': ['mac_iceland', 'mac_roman', 'mac_romanian', 'mac_turkish']
'\ufeff': ['utf-8']
There is also a --table option which lets you generate the web page
or a textual rendering of the same information.
License
MIT License
Metadata
Release files for 8bit 0.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| 8bit-0.9.0.tar.gz | 11.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 8bit-0.9.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.8 kB
Release files / 8bit-0.9.0.tar.gz
| Download URL | 8bit-0.9.0.tar.gz |
|---|---|
| Size | 11.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fae6f4d7357f84f691a0f7369ed57a5791455f7dbe100f086549384da720dbd1
|
|
BLAKE2b-256 checksum How to use checksums |
fc5567ae94b38901a86e03b159f379f0ce3b49840ed5db6e7fd6b8f316365fd0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 7, 2026.
Transparency logRelease files / 8bit-0.9.0-py3-none-any.whl
| Download URL | 8bit-0.9.0-py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
db6a3f89f94ad6cf87e707fffd9691115a9b7709e721d188d413332ccad533fb
|
|
BLAKE2b-256 checksum How to use checksums |
a5e9b4a4a9b1f8ab5c63d73c0dd23e821b25121a368b35c5dad0593331f67016
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 7, 2026.
Transparency log