3 ms·
I hope luajit will backport the utf-8 library. A little bit OT here but I always think the situation of lua 5.1/5.2 is just like python2/python3. E.g. lots of
by larme 12y ago
I hope luajit will backport the utf-8 library.
A little bit OT here but I always think the situation of lua 5.1/5.2 is just like python2/python3. E.g. lots of applications' embedded lua version is still 5.1 (Lightroom, Max 7, WoW?, Codea on iPad). Some packages like Metalua still only run on 5.1.
- justincormack 12y agoThey are much closer together though. 5.3 is a bigger change because of integers.
- sitkack 12y agoThere are a few utf-8 libs for lua, some in pure Lua. https://github.com/starwing/luautf8 https://github.com/starwing/luautf8 https://github.com/luapower/utf8/blob/master/utf8.lua https://github.com/luapower/utf8/blob/master/utf8.lua
- vardump 12y agoI believe the main issue is there are too many such libraries and text is such an elementary piece of exchanged data.
- Dylan16807 12y agoutf-8 is trivial. There aren't major issues with processing code points. Having several libraries is fine.