Skip to main content

latin1_to_utf8

Function latin1_to_utf8 

Source
pub fn latin1_to_utf8(text: &str) -> String
Expand description

latin1ToUTF8 from lib/common/utils.c (used when charset=latin1): translates HTML entities and re-encodes every byte >= 0x7F of the input (see crate::charset) as if it were a Latin-1 code point.