luautf8 icon indicating copy to clipboard operation
luautf8 copied to clipboard

a utf-8 support module for Lua and LuaJIT.

Results 9 luautf8 issues
Sort by recently updated
recently updated
newest added

Before: ```sh > gcc -std=c11 -g -fPIC $(pkg-config --cflags lua5.1) lutf8lib.c -shared -o lua-utf8.so lutf8lib.c: In function 'Lutf8_normalize_nfc': lutf8lib.c:1835:3: error: a label can only be part of a statement and...

Hi, I am using lua 5.4, i installed the luarocks and luarocks luautf8 package, but studio code searching the following locations for .so library `Desktop/server/lua-apps/lua.lua:3118: module 'lua-utf8' not found: no...

From the 0.1.3 release notes: > update Unicode version to 14 I'd be curious where you got your hands on that, it would give a lot of us a big...

Hello can I use the library by downloading the folder but not installing it with luarocks? I already tried putting the folder near to the lua file and doing **require...

question

ERROR: upyun.lua:8: module 'lua-utf8' not found: no field package.preload['lua-utf8'] no file '/usr/local/Cellar/openresty/1.19.3.1_1/site/lualib/lua-utf8.ljbc' no file '/usr/local/Cellar/openresty/1.19.3.1_1/site/lualib/lua-utf8/init.ljbc' no file '/usr/local/Cellar/openresty/1.19.3.1_1/lualib/lua-utf8.ljbc' no file '/usr/local/Cellar/openresty/1.19.3.1_1/lualib/lua-utf8/init.ljbc' no file '/usr/local/Cellar/openresty/1.19.3.1_1/site/lualib/lua-utf8.lua' no file '/usr/local/Cellar/openresty/1.19.3.1_1/site/lualib/lua-utf8/init.lua' no file '/usr/local/Cellar/openresty/1.19.3.1_1/lualib/lua-utf8.lua'...

question

Just an idea. I need to match a sequence of letters and non-spacing marks, which can't be expressed in Lua patterns even with the extension of the meaning of escapes...

enhancement

Consider such example: ```lua repeat pos = utf8.find(str,"\\",pos+1) until not pos or utf8.sub(str,1,pos) ~= utf8.sub(str2,1,pos) ``` I have some doubt about efficiency of this code. 1. `find` in loop `pos`...

hello how to use it like I do it in python s=b"\xD0\x9C\xD0\xBE\xD1\x81\xD0\xBA\xD0\xB2\xD0\xB0" >>> print(s.decode("utf-8")) Москва lua 5.2 works similary lua5.2 Lua 5.2.4 Copyright (C) 1994-2015 Lua.org, PUC-Rio > s="\xD0\x9C\xD0\xBE\xD1\x81\xD0\xBA\xD0\xB2\xD0\xB0" >...

Reported by @nadako A require string that contains "-" undergoes a translation to "_" when looking for a C symbol. luautf8 should use a require string and .so name of...