lua-users home
lua-l archive

Re: Is it possible to add utf-8 lua source file support in lua 5.2?

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


Pan Shi Zhu schrieb:
> The utf-8 bom, by definition of unicode, is actually a "space"
> character. Shall we just treat utf-8 bom like a normal space character,
> instead of strip it off? Is that easier to handle in the lexer?
I guess this would be the cleanest solution and that's what I did in my
JSON module.
- David

AltStyle によって変換されたページ (->オリジナル) /