Closed seceba closed 1 year ago
HI. I am just wondering is it backwards compatible?
Hi, yes it is compatible, previously we had a database created using utf8mb4 charset and members wrote data.
In this database, some of the data had emojis in some of the data, but when I pulled the data from this database, question marks such as ????? came instead of emojis.
As I said, when I made utf8 utfmb4, these ????? question marks turned into emojis as they should be.
Ok I will switch default encoding to mb4 variant and add parameter to control this
Fixed in 0.0.26
Greetings,
I get an error when I try to save an emoji to my database or read a saved emoji.
This is because mysql_client uses utf8 by default.
If you use the following option in the connection.dart file in the mysql_client package
If you change from the above code to the following code, that is, if you change the charsets from utf8 to utf8mb4, the problem will be fixed.
This problem is on the mysql_client side but I think you can fix it by taking a small parameter.
Have a good day.