@mcc Checking now. This kind of question is why I keep a checkout of the Rust repo handy.
@mcc Yeah, you'll have to check for and remove the BOM yourself if you wish. Rust's support for dealing with character encodings when reading a file is rudimentary when compared to, say, Python, Java, or .NET (I assume .NET has some support for detecting and removing the UTF-* BOM, since AFAIK Microsoft originated that convention; I don't know about the other two languages). If you read file contents into a string, the Rust standard library will ensure it's valid UTF-8, and that's it.