lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



On Tue, Sep 28, 2010 at 10:49 AM, Daniel Silverstone <dsilvers@digital-scurf.org> wrote:
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.

Robby