Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By sprite on
What character collation are you using in your Drupal database?
What in your opinion are the benefits of using the various available collations?
- utf8mb4_general_ci
versus
- utf8_general_ci
If so, are you translating your website(s) into multiple languages?
Comments
Until recently, the default
Until recently, the default has been utf8_general_ci. However, this had limitations in that it could not save the code behind emojis, so if someone posted an emoji to a Drupal site, it would not save it correctly. As of Drupal 7.50 (not sure about the D8 version), Drupal recommends switching to utf8mb4_general_ci, which will save emoji code.
It doesn't have anything to do with multilingual sites (though they will be supported). If you will never need emojis on your site, you can stay with utf8_general_ci.
Thank you for your thoughts and insights ...
Thank you for your thoughts and insights.
spritefully yours
Technical assistance provided to the Drupal community on my own time ...
Thank yous appreciated ...