Adding detection and removal of UTF8 Byte Order Mark