Jaime Cepeda Villamayor

June 23, 2022

Migrate MySQL's UTF-8 to Real UTF-8

Where I work, we normally use MySQL as our main database. In the beginning we didn't have any trouble using it, but one day, we found out the following error in our production server: (1366, u"Incorrect string value: '\\xF0\\x9F\\x98\\x80' for column 'name' at row 1") How was that possible? We thought our database uses UTF-8. The truth...
Read more