原文:How to identify different encodings on files without the use of a BOM