checking for composer byte order mark (windows issue)