-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
utf8 decode #22
Comments
You could try utf8.escape() |
I use make with this Makefile
then i add this module to cpath in nginx config
i_dn="\U0433.\U041C\U043E\U0441\U043A\U0432\U0430" And in the logs nginx I get error |
try local utf8 = require("lua-utf8") instead |
Thanks errors desappered but I also get this result in output |
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"
but lua 5.1
lua5.1
Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio
how to make similar as in python or lua 5.2 with this lib?
what function I need to use?
The text was updated successfully, but these errors were encountered: