in reply to Re^3: UTF-8 text files with Byte Order Mark
in thread UTF-8 text files with Byte Order Mark

Thank you!!! This saved me a lot of trouble. I am also trying to strip out these UTF-8 byte order mark characters, which google docs puts in by default to downloaded text files. By the way I found that \x{FEFF} was not the same as \x{ef}\x{bb}\x{bf}
  • Comment on Re^4: UTF-8 text files with Byte Order Mark

Replies are listed 'Best First'.
Re^5: UTF-8 text files with Byte Order Mark
by ikegami (Patriarch) on Oct 01, 2011 at 21:53 UTC

    By the way I found that \x{FEFF} was not the same as \x{ef}\x{bb}\x{bf}

    Yeah, "\x{ef}\x{bb}\x{bf}" is the UTF-8 encoding of the BOM / U+FEFF / "\x{FEFF}".

    A reply falls below the community's threshold of quality. You may see it by logging in.