You need to be cautious to take the BOM into consideration in scripts or application code that automatically method documents that begin with a BOM. Such as, when sample matching In the beginning of a file that begins using a BOM you may need more code to check with the existence of your BOM and ignore it if identified. The UTF-8 encoding with out