[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Feature proposal: \x## notation in strings
- From: Asko Kauppi <askok@...>
- Date: Tue, 10 Mar 2009 11:43:27 +0200
Are you aware of the patches at: http://lua-users.org/wiki/LuaPowerPatches
Particularily the "Literals (hex, UTF-8) patch"
"Allows \x00..\xFFFF (hex) and \u0000..\uFFFF (UTF-8 encoded)
characters within strings."
Making patches is the preferred way of requesting features to Lua.
Though it (almost) never works. :)
Ico kirjoitti 10.3.2009 kello 11:14:
* On 2009-03-10 Enrico Colombini <firstname.lastname@example.org> wrote :
Eike Decker wrote:
A Lua function that converts strings in a more convenient way is
possible, but I think it would be nice if the compiler would support
Being a minimalist, I usually prefer extra features to be kept as
But for hex constants embedded in strings I'd make an exception: I
they're just too useful (in many fields) to be left out of the core.
So it seems that I'm not alone when I feel this would make an useful
addition to the lua language. What would be the proper way to make
into an official request ?