https://github.com/pyfisch/rust-charsets
https://github.com/pyfisch/rust-charsets
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pyfisch/rust-charsets
- Owner: pyfisch
- License: other
- Created: 2015-07-19T12:06:41.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2016-09-01T10:04:37.000Z (almost 10 years ago)
- Last Synced: 2025-12-14T03:15:30.708Z (6 months ago)
- Language: Rust
- Size: 525 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rust-charsets
[](https://travis-ci.org/pyfisch/rust-charsets)
[](https://coveralls.io/r/pyfisch/rust-charsets)
[](./LICENSE)
[](https://crates.io/crates/charsets)
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](http://www.iana.org/assignments/character-sets/character-sets.xhtml).
Charset names can be parsed from string, formatted to string and compared.
Unregistered charsets are represented useing an `Unregistered` variant.