lua-users home
lua-l archive

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




On Tue, Jul 10, 2018, 4:44 PM Dirk Laurie <dirk.laurie@gmail.com> wrote:
...

I. Am. Not. Asking. For. Unicode.

I am merely asking for extra functions along the lines of what the
utf8 library already does.
E.g. Sam's examples:

> s1 = "Hélène"
> s2 = "Hélène"

FYI these look identical on Android.

> > utf8.len(s1)
6
> utf8.len(s2)
7

If you really not understand what I mean, I can elaborate.

Please do.

What does "len" mean? Number of Unicode chars ot number of bytes?