This repository has been archived on 2023-03-25. You can view files and clone it, but cannot push or open issues or pull requests.
rust-charsets/README.md

15 lines
895 B
Markdown
Raw Permalink Normal View History

2015-07-19 12:05:56 +00:00
# rust-charsets
[![Build Status](https://travis-ci.org/pyfisch/rust-charsets.svg?branch=master)](https://travis-ci.org/pyfisch/rust-charsets)
[![Coverage Status](https://coveralls.io/repos/pyfisch/rust-charsets/badge.svg)](https://coveralls.io/r/pyfisch/rust-charsets)
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)
2015-08-17 17:59:21 +00:00
[![crates.io](http://meritbadge.herokuapp.com/charsets)](https://crates.io/crates/charsets)
2015-07-19 12:18:41 +00:00
2015-08-17 16:34:06 +00:00
The documentation is located at http://pyfisch.github.io/rust-charsets/
2015-07-19 12:18:41 +00:00
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.