I am trying to enable emojis following Multi-byte UTF-8 support in Drupal 7.
I have added the following to the settings.php file.
'charset' => 'utf8mb4', 'collation' => 'utf8mb4_general_ci',
I've converted MySQL tables into utf8mb4 format and set the collate to utf8mb4_general_ci.
On the Drupal 8 site emojis work, while on the Drupal 7 I get the following error.
4 byte UTF-8 for mysql is activated, but not supported on your system. Please turn this off in settings.php, or ensure that all database-related requirements are met.
What am I missing?
When I try to save a node with an emoji I receive the following error.
StatusText: Service unavailable (with message) ResponseText: PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect string value: '\xF0\x9F\x98\x8A'