lua-users home
lua-l archive

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




On Tue, Jul 10, 2018 at 5:00 PM, Dirk Laurie <dirk.laurie@gmail.com> wrote:

>
> Would you expect this to work on both "Hélène" and "Hélène"?
>
> I've separated out the acute combining mark for clarity.
>
> Such a function might easily be larger than the rest of the string library
> combined.

On Tue, Jul 10, 2018 at 4:00 PM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
| not asking for upper/lower,
| operating only on simple codepoints,| no combining characters,
| no need for a C library.


Alright, that's clear enough.  Honestly, I had thought the 5.3 upgrade provided this
behavior.  I've been using [this library](https://github.com/starwing/luautf8); since LuaJIT is 
my daily driver, I had never had occasion to test this premise. 

Granted, it might be a good addition to the Lua standard library.  If you happen to need it,
well, you can have it right now.