[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: question about Unicode
- From: roberto@... (Roberto Ierusalimschy)
- Date: Mon, 4 Dec 2006 16:05:46 -0200
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?