[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: ignoring BOM
- From: Gabríel "A." Pétursson <gabrielp@...>
- Date: Sun, 31 May 2009 10:25:47 +0000
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?
>