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.
rust-charsets/README.md

15 lines
895 B
Markdown
Raw Normal View History

2015-07-19 06:05:56 -06: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 11:59:21 -06:00
[![crates.io](http://meritbadge.herokuapp.com/charsets)](https://crates.io/crates/charsets)
2015-07-19 06:18:41 -06:00
2015-08-17 10:34:06 -06:00
The documentation is located at http://pyfisch.github.io/rust-charsets/
2015-07-19 06:18:41 -06: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.