ansel

ANSEL Converter for Crystal

ANSEL

TODO: Write a description here

Installation

Add this to your application's shard.yml:

dependencies:
  ansel:
    github: maxpowa/ansel

Usage

require "ansel"

ANSEL::Converter.convert("UTF-8 string") # Outputs String of ANSEL bytes
ANSEL::Converter.convert("String of ANSEL bytes", to_charset: "UTF-8") # Outputs String of UTF-8 bytes
ANSEL::Converter.convert("UTF-8 string", output_io: STDOUT) # Outputs ANSEL bytes to STDOUT
ANSEL::Converter.convert("String of ANSEL bytes", output_io: STDOUT, to_charset: "UTF-8") # Outputs UTF-8 bytes to STDOUT

Development

Don't?

Contributing

  1. Fork it ( https://github.com/maxpowa/ansel/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • maxpowa Max Gurela - creator, maintainer
  • RX14 Chris Hobbes - moral support
Repository

ansel

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 2
  • over 8 years ago
  • June 29, 2016
License

MIT License

Links
Synced at

Thu, 21 Nov 2024 22:27:02 GMT

Languages