On 08/04/2014 17:40, Daurnimator wrote:
No, this didn't come to my mind. Besides that, our application uses Lua 5.1 / LuaJIT 2.0.In 5.2 the __len metamethod actually works on tables now. Have you considered wrapping your utf8 strings in tables so you can provide extra features?
-- Shmuel