records icon indicating copy to clipboard operation
records copied to clipboard

chinese garbled

Open paulyim opened this issue 8 years ago • 2 comments

chinese garbled

paulyim avatar Nov 13 '17 09:11 paulyim

Could you provide minimal reproducible example? Like database dump and query or action showing what went wrong?

vlcinsky avatar Apr 26 '18 22:04 vlcinsky

@paulyim It should not be an issue. Just taking Mysql as an example to explain. when we solve chinese garbled, we always use parameter charset='utf8', e.g. con = MySQLdb.connect(host=host, user=user, passwd=passwd, db=db, charset='utf8') As for records, we should use like this: db = records.Database('mysql://user:passwd@host/db?charset=utf8')

jason-hou avatar May 08 '18 15:05 jason-hou