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

{"message":"Incorrect string value: '\\xF0\\x9F\\x87\\xAD\\xF0\\x9F...' for column 'Body' at row 1","addDate":"2024-12-04 12:16:53"} #3828

Open
urselect opened this issue Dec 4, 2024 · 1 comment

Comments

@urselect
Copy link

urselect commented Dec 4, 2024

??

@starlying
Copy link
Contributor

应该是mysql不支持表情包导致的,需要将mysql数据库设置为utf8mb4编码
参考:https://dba.stackexchange.com/questions/206478/insert-gives-error-code-1366-incorrect-string-value-xf0-x9f-x98-x80-for-co

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

2 participants