lua-users home
lua-l archive

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


Hmm what advantages does it have over starwigs library?


On Sat, 15 Apr 2017 3:15 am Daurnimator, <quae@daurnimator.com> wrote:
On 14 Apr 2017 2:18 PM, "Vadim Peretokin" <vperetokin@gmail.com> wrote:
I've had a closer look at utf8 in 5.3 and unfortunately it does not enable all of string.* to work with utf-8 which is what I need, so that is a no-go. I think the alternatives are starwing/luautf8, Stepets/utf8.lua and Mediawiki's ustring.

Has anyone had experience with any of those or other libraries I've missed to provide equivalent utf-8 support of the string.* library?

I wrote some bindings to libunistring which is good for this sort of thing. https://github.com/daurnimator/lua-unistring if you find it useful I can make a release.