luajit2
luajit2 copied to clipboard
Processing Utf-16
Hello How print strings , that are in utf-16 encode for example \U041C\U043E\U0441\U043A\U0432\U0430 I use this lib https://github.com/bungle/lua-resty-unistring and this is my code
local us = require "unistring"
local sprintf = string.format
sprintf( ISSUER: %s ,
us.str.u16_to_u8("\041C\043E\0441\043A\0432\0430"))
And I get error unistring/str.lua:65: declaration specifier expected near ') How to resolve it?