lua-users home
lua-l archive

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


Asko Kauppi wrote:
But there may be some identifier "stamp" that can be used to know a file is UTF-8, no?
There are two that I know of. I don't know how "standard" they are. One is called a BOM Header, which is some binary code in the first 2 bytes of the "text" file. The other is the occurrence of this text "charset=utf-8", anywhere in the file (at least according to the editor I use: UltraEdit).

Brian