-
Notifications
You must be signed in to change notification settings - Fork 306
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
Failed to apply utf8mb4 and only support utf8 in Home > User Admin > Manage Users > Edit User #1598
Comments
Hi @arthurtalkgoal thanks for your message. As you've seen, Gibbon doesn't support utf8mb4 by default, and while it is a development goal for us, we've identified a number of changes we'd need to make to work towards that in future versions. As you're testing this change on your system, be sure to not only change the collation of the column itself, but also the database collation, which tends to be utf8_general_ci by default. There is also a Server Connection Collation setting in MySQL which will likely need to be changed in your local configuration: https://dev.mysql.com/doc/refman/8.0/en/charset-connection.html |
Thanks @SKuipers and the information. Can I ask that you mentioned Since it is a blocker to the school usage that around 5-10 students have the utf8mb4 chars in their name. Thanks a lot. |
Hi Arthur, it just means we haven't had the capacity yet to investigate migrating the whole system over to using utf8mb4. Be sure to update your database and table charset, also check out the post here for changes to make to the MySqlConnector class: #1583. Hope this helps! |
I'm closing this PR for now, utf8mb4 support has been added to the v24 roadmap. Thanks! |
In Home > User Admin > Manage Users > Edit User , I tried the utf8mb4 char which failed to be stored:
𦾾 is utf8mb4 supported but not in utf8
I did tried the command in mysql query to test the result in gibbon:
update gibbonPerson set nameInCharacters="余東𦾾" where username = "myuser1" limit 1;
The database successful show the words in utf8mb4 but failed in gibbon, instead it becomes a "?"
And if I type the word 𦾾 in gibbon and save, the mysql col will store "????" instead.
The text was updated successfully, but these errors were encountered: