luasql icon indicating copy to clipboard operation
luasql copied to clipboard

read data from luasql with utf8 format

Open sbh96 opened this issue 7 years ago • 1 comments

0down votefavorite | I need to read data in my query with utf8 format, I tried to change collation of my SQL database when I read data base on English alphabet every thing good, but I have trouble in Arabic or other languages.I print a string stored in variable came from in mysql query and show me like this  ??????? i dont have problem in latin string came from database lua sql in arabic or persian texts have problem and output unknow string type. how I can solve this problem to show them correct?

sbh96 avatar Oct 28 '17 18:10 sbh96

Anyone have a solution ?

ghost avatar Sep 18 '20 10:09 ghost