Strip a byte order mark (BOM) from a string.
Remove a byte order mark (BOM) from a buffer.
Returns true if string has a byte order mark (BOM)
Encode and decode text files in a reliable way
Returns true if a buffer or string has a byte order mark (BOM)