Crate xmldecl[][src]

Expand description

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

Functions

Extracts an encoding from an ASCII-based bogo-XML declaration. bytes must the prefix of a text/html resource.