infer
infer copied to clipboard
XML file not recognized
let path = "System.Runtime.xml";
println!("{:?}", infer::get_from_path(Path::new(&path)))
prints
Ok(None)
Problem happens, because file starts with BOM - https://en.wikipedia.org/wiki/Byte_order_mark#Byte_order_marks_by_encoding