xmldecl::parse()
extracts an encoding from an ASCII-based bogo-XML
declaration in text/html
in a Web-compatible way.
See whatwg/html#1752
Please see the file named COPYRIGHT.
Generated API documentation is available online.
MSRV: 1.51.0
- Remove the 1024-byte limit.
- Map UTF-16LE and UTF-16BE to UTF-8 as in
meta
.
- The initial release.