xpol/lua-rapidjson

How to encode string to UTF-8

fslove opened this issue · 1 comments

table -> json -> pgsql
"ERROR: invalid byte sequence for encoding "UTF8": 0xed 0xb2 0x8c

xpol commented

Just encode strings in table in UTF8.