lua-users home
lua-l archive

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


> << The definition of letter depends on the current locale: any character considered alphabetic by the current locale can be used in an identifier. >>

This will be removed in 5.2.

> 1) Where does Lua take this info from?

>From ANSI C ctype.h. The classification of chars according to ctype depends
on the current locale.

In 5.2, Lua will provide its own ctype table and won't rely on locales.
See http://lua-users.org/lists/lua-l/2009-05/msg00411.html