-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Trying to input chinese character crash with ER_TRUNCATED_WRONG_VALUE_FOR_FIELD: Incorrect string value: '\xE9\x80\x89\xE8\xAF\xB6...' for column 'value' at row 1 #2651
Comments
It might be that the database encoding is incorrect. Please test on http://beta.etherpad.org |
You seem to rely on mysql's default values when creating the database. epl needs binary-collation and at least utf8, so can you |
ok thanks for your feedback i'm going to check that tomorrow morning and tell you the result. |
I put a patch in upstream tvelocity/dockerfiles#7 |
Btw @webzwo0i if I alter database to use utf8bin then new tables created will also use utf8bin right? |
You should be able to do it to just one table if you want like this, ALTER TABLE table_name If you wanted you could do it for your entire database by, ALTER DATABASE database_name DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci; |
@JohnMcLear thanks for the upstream patch |
I'm using an instance made with docker and https://registry.hub.docker.com/u/tvelocity/etherpad-lite/
when I try to input some chinese characters , the instance crash with this error message in the logs
which seems to be a MySQL error, so I'm not sure which one is to blame ?
The text was updated successfully, but these errors were encountered: