mysql Incorrect string value: '\xF0\x9F\x98\x82' for column code example
Example 1: Mysql2::Error: Incorrect string value: '\xE2\x80\x8B
ALTER TABLE your_database_name.your_table CONVERT TO CHARACTER SET utf8
Example 2: Incorrect string value: '\xC4\x81ne' for column
ALTER TABLE table_name CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;