lua-users home
lua-l archive

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


On Thu, 2006-01-12 at 18:42 +0200, Asko Kauppi wrote:
> Make that apply to strings as well?
> As a quick example, would allow UTF-8 strings to be returning the  
> real length (in characters); not the number of bytes.

That would (unless I'm wrong) require strings to carry around metatables
themselves which is a very big change.

Or did you simply mean check against the string metatable?

D.

-- 
Daniel Silverstone                         http://www.digital-scurf.org/
PGP mail accepted and encouraged.            Key Id: 2BC8 4016 2068 7895