lua-users home
lua-l archive

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

> If you want to make UTF-8 the fixed, default encoding for the .lua
> scripts themselves, then you will need to adapt llex.c, and supply your
> own replacements for isalpha() and isalnum().

Just to make sure: you only need this adaptation if you want "localized"
identifiers. If you want extra characteres only inside strings, you
don't need to change anything inside the Lua core (except perhaps to
redefine `strcoll'?). It should work with UTF-8 strings out of the box.

-- Roberto