gecko-dev/third_party/rust/xmldecl
Henri Sivonen b98488aa92 Bug 673087 - Honor encoding declared via XML declaration in text/html. r=emk
Differential Revision: https://phabricator.services.mozilla.com/D107806
2021-03-23 09:52:04 +00:00
..
src
.cargo-checksum.json
.travis.yml
COPYRIGHT
Cargo.toml
LICENSE-APACHE
LICENSE-MIT
README.md
build.rs

README.md

xmldecl

Build Status crates.io docs.rs Apache 2 OR MIT dual-licensed

xmldecl::parse() extracts an encoding from an ASCII-based bogo-XML declaration in text/html in a Web-compatible way.

See https://github.com/whatwg/html/pull/1752

Licensing

Please see the file named COPYRIGHT.

Documentation

Generated API documentation is available online.

Minimum Supported Rust Version

MSRV: 1.51.0

Release Notes

0.1.1

  • Map UTF-16LE and UTF-16BE to UTF-8 as in meta.

0.1.0

  • The initial release.