lua-users home
lua-l archive

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



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 conversion.

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.

-ak

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:

Hi Asko

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?

cheers