Skip to main content

Table of legacy 8-bit encodings, and command-line decoding tool

Project description

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

Project details


Download files

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

Source Distribution

8bit-0.9.0.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

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

8bit-0.9.0-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file 8bit-0.9.0.tar.gz.

File metadata

  • Download URL: 8bit-0.9.0.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for 8bit-0.9.0.tar.gz
Algorithm Hash digest
SHA256 fae6f4d7357f84f691a0f7369ed57a5791455f7dbe100f086549384da720dbd1
MD5 b1df41f1ecc1edac50b0dc204a1a810b
BLAKE2b-256 fc5567ae94b38901a86e03b159f379f0ce3b49840ed5db6e7fd6b8f316365fd0

See more details on using hashes here.

Provenance

The following attestation bundles were made for 8bit-0.9.0.tar.gz:

Publisher: pypi.yml on tripleee/8bit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file 8bit-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: 8bit-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for 8bit-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 db6a3f89f94ad6cf87e707fffd9691115a9b7709e721d188d413332ccad533fb
MD5 451777a011c1515a9e0aa1a04174e977
BLAKE2b-256 a5e9b4a4a9b1f8ab5c63d73c0dd23e821b25121a368b35c5dad0593331f67016

See more details on using hashes here.

Provenance

The following attestation bundles were made for 8bit-0.9.0-py3-none-any.whl:

Publisher: pypi.yml on tripleee/8bit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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