records
records copied to clipboard
chinese garbled
chinese garbled
Could you provide minimal reproducible example? Like database dump and query or action showing what went wrong?
@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')