[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Accented characters: setting locale doesn't work
- From: Mike Pall <mikelu-0711@...>
- Date: Tue, 6 Nov 2007 03:51:14 +0100
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