Hello! 2012/7/30 dengfuming: > 请问 ngx_lua 如何得到一个字符的ascii值,如:a的值是97,应该如何得到? > 标准 Lua 语言有现成的 API: $ lua -e 'print(string.byte("a"))' 97 Best regards, -agentzh P.S. 抄送给 openresty 邮件列表:https://groups.google.com/group/openresty/ 也欢迎你加入。