lua-users home
lua-l archive

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

I am playing with a toy new implementation for pattern matching, and I
would like to include some form of Unicode support. I am assuming that
the encoding is UTF-8, so that it integrates with most of the ascii
stuff without changes.

My question is, what is the "best" way to check char classes? Should I
use mbtowc + iswctype? A hand-written utf8->wchat_t + iswctype?

-- Roberto