Skip to main content

strip_bom

Function strip_bom 

Source
pub fn strip_bom(raw: &str) -> (String, String)
Expand description

Strip a UTF-8 BOM if present. Returns (bom, text).