Function convert_to_utf8
Source pub fn convert_to_utf8(html: &str) -> String
Expand description
Convert HTML content to UTF-8 encoding
Detects the current encoding from meta tags and ensures UTF-8 encoding.
§Arguments
html - The HTML content to convert
§Returns
The UTF-8 encoded HTML content