Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.
/ iso_8859 Public archive

Gleam library to decode ISO/IEC 8859 binary data into native UTF-8 strings.

License

Notifications You must be signed in to change notification settings

richard-viney/iso_8859

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gleam ISO/IEC 8859 Decoder

This Gleam library decodes ISO/IEC 8859 binary data into a native string. All 15 ISO/IEC 8859 encodings are supported.

See https://en.wikipedia.org/wiki/ISO/IEC_8859 for details on the ISO/IEC 8859 encodings.

Package Version Hex Docs Erlang Compatible JavaScript Compatible Semantic Release

Usage

To add this library to your Gleam project:

gleam add iso_8859

To use it:

> iso_8859.decode_bytes(<<0xB4, 0xEC, 0xE0>>, iso_8859.Part5)
"Дьр"

API documentation can be found at https://hexdocs.pm/iso_8859.

License

This library is published under the MIT license, a copy of which is included.

About

Gleam library to decode ISO/IEC 8859 binary data into native UTF-8 strings.

Resources

License

Stars

Watchers

Forks

Languages