[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LPeg support for utf-8
- From: Marc Balmer <marc@...>
- Date: Fri, 01 Apr 2011 19:37:11 +0200
Am 01.04.11 19:29, schrieb Roberto Ierusalimschy:
> A quick survey, for those who care:
> - should LPeg support utf-8?
Yes, please. In fact, all of Lua should... (at least that's what _I_
would like to see, purely egoistic standpoint, I know...)
> - If so, what would that mean?
On the C level, quite a lot. strlen() and friends can no longer be
used, printf format strings like "%20s" don't work anymore etc. Not to
speak about string comparison, collation etc. Since I am not familiar
with LPeg's implementation, that is about all I can say.