Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

微信好友昵称为emoji表情符号时,无法写入数据库。 #51

Open
tiancegit opened this issue Jan 14, 2018 · 0 comments
Open

Comments

@tiancegit
Copy link

sqlalchemy.exc.InternalError: (pymysql.err.InternalError) (1366, "Incorrect string value: '\xF0\x9F\x8C\xBF' for column 'nick_name' at row 1") [SQL: 'INSERT INTO users (create_at, id, sex, nick_name, signature, province, city) VALUES (%(create_at)s, %(id)s, %(sex)s, %(nick_name)s, %(signature)s, %(province)s, %(city)s)'] [parameters: {'signature': '做自己想做的事!!!……', 'city': '佛山', 'sex': 2, 'nick_name': '🌿',

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant