lua-users home
lua-l archive

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


> As such, since text files on disk in most current filesystems do not
> carry encoding metadata, it isn't a bug to put a BOM at the beginning
> of a UTF-8 text file.

It is a bug in the spec, in the sense that it breaks the main raison
d'être of utf-8 (being compatible with ascii).


> However, it IS a bug to put a BOM before a #! because the shebang
> protocol demands that the first two bytes of the file be 0x23 0x21.

This illustrates my point...

-- Roberto