lua-users home
lua-l archive

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

Lua has no special support for UTF-8, let alone BOM markers. You should
simply tell your users to configure their editors properly or use a
different editor.

On Sun, 2009-05-31 at 14:23 +0400, Bulat Ziganshin wrote:
> Hello Lua,
> i use UTF8 encoding for string data and so my users editing scripts
> should use UTF8 editors. the most well-known windows one, Notepad,
> adds BOM to the beginning of UTF8-encoded files
> may be Lua interpreter should ignore BOM at beginning of file/string
> it executes?