Closed qarmin closed 2 years ago
let path = "System.Runtime.xml"; println!("{:?}", infer::get_from_path(Path::new(&path)))
prints
Ok(None)
System.Runtime.xml.zip
Problem happens, because file starts with BOM - https://en.wikipedia.org/wiki/Byte_order_mark#Byte_order_marks_by_encoding
prints
System.Runtime.xml.zip