lua-users home
lua-l archive

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


Hi,

David Haley wrote:
> I am trying to use character classes %a and %w to match against strings
> with utf8 accented characters. I found the following threads in the
> archives where people have similar problems:

The mentioned postings refer to single-byte locales (e.g.
ISO-8859-*) which is the only thing standard Lua supports
out-of-the-box.

But there's slnunicode: http://luaforge.net/projects/sln/

[Note: this solves string matching, but UTF-8 variable names
in the source code would need a patched Lua core.]

Bye,
     Mike