Coder Social home page Coder Social logo

8bit's Introduction

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

8bit's People

Contributors

tripleee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

8bit's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.