[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua 5.1 and UTF-8 ?
- From: Asko Kauppi <askok@...>
- Date: Mon, 23 May 2005 07:38:15 +0300
hmm.. string literals, I've added "\x[NN]NN" and "\u[NN]NN" support
now (the former giving raw hex input, the latter doing the 1-5byte
Sure, that's not an absolute requirement, but a neato anyhow.
The rest is all in string.* namespace, that is, lstrlib. Haven't
looked at the existing code (Unicode patch) yet, but I will. thanks.
to Rici: thanks for the offer, but.. did it already? :) You could
still send in the (string literals) patch so I can compare the
approaches. Perhaps harmonize the syntax, too.
Klaus Ripke kirjoitti 23.5.2005 kello 2.44:
On Mon, May 23, 2005 at 02:18:01AM +0300, Asko Kauppi wrote:
The goal for me would be UTF-8 only, boldly ignoring the issues with
existing data in other encodings. For that, a couple of patching
points within Lua will be required, already started the work. :)
... not to stop you from work, just curious,
what would require patching other than lstrlib?
And what's wrong with the existing lstrlib alternative?