Crate xmldecl

Source
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.