On Tue, Sep 28, 2010 at 10:49 AM, Daniel Silverstone <email@example.com>
So if Windows Notepad is adding 0xFF, 0xFE then not only is it adding a BOM to
a file encoding which the Unicode standard does not recommend has one; but it's
actually adding the *wrong* marker.
MS Notepad adds the correct 0xEF 0xBB 0xBF bytes.
And MS Wordpad "helpfully" strips it out again on saving (or adds the 0xFF 0xFE, depending on how you did the save).
As I say, nightmare.