Forked from pyfisch/rust-charsets https://github.com/pyfisch/rust-charsets
This repository has been archived on 2023-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2023-03-07 21:29:57 -05:00
src breaking change: FromStr: return Charset in Err 2023-03-07 21:29:57 -05:00
.gitignore initial commit 2015-07-19 14:05:56 +02:00
.travis.yml new secret 2015-08-17 19:59:21 +02:00
Cargo.toml breaking change: FromStr: return Charset in Err 2023-03-07 21:29:57 -05:00
LICENSE improve tests, add code source to LICENSE 2015-07-19 14:39:34 +02:00
README.md new secret 2015-08-17 19:59:21 +02:00

rust-charsets

Build Status Coverage Status MIT licensed crates.io

The documentation is located at http://pyfisch.github.io/rust-charsets/

The crate provides an enum representing all charset names used in Media Types and HTTP header values. The list can be found at the IANA Character Sets registry.

Charset names can be parsed from string, formatted to string and compared. Unregistered charsets are represented useing an Unregistered variant.