Bug #107698 | MySQL ODBC 8.0 Unicode Driver Fails to Write 4-Byte Emoji to Database | ||
---|---|---|---|
Submitted: | 29 Jun 2022 9:22 | Modified: | 12 Jul 2022 19:51 |
Reporter: | Robin Hickmott | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / ODBC | Severity: | S2 (Serious) |
Version: | 8.0.29 | OS: | Windows |
Assigned to: | CPU Architecture: | x86 | |
Tags: | 4-byte, 8.0, connector, driver, emoji, MySQL, ODBC, Unicode |
[29 Jun 2022 9:22]
Robin Hickmott
[29 Jun 2022 9:37]
Robin Hickmott
Sorry fix should be to default to at least utf8mb4_general_ci 😉 not that it effects the above.
[5 Jul 2022 9:27]
MySQL Verification Team
Hello Robin, Thank you for the bug report. Verified as described. Regards, Ashwini Patil
[12 Jul 2022 12:51]
MySQL Verification Team
Bug #106251 marked as duplicate of this one.
[12 Jul 2022 19:51]
Philip Olson
Posted by developer: There's a related change in the upcoming 8.0.30 release and here's the release note for it: The driver's default character set changed to utf8mb4. Previously it defaulted to utf8, which is an alias to utf8mb3. The developers report that the above change fixes this bug. Thanks Robin for the bug report, a proposed update to the above is: The driver's default character set changed to utf8mb4. Previously it defaulted to utf8, which is an alias to the deprecated utf8mb3. Using utf8mb3 could cause problems, like incorrectly inserting and selecting emojis. Setting status to closed and referencing this bug number in the above utf8mb4's release note entry.
[13 Jul 2022 8:56]
Bogdan Degtyariov
Posted by developer: This bug should be fixed in the version 8.0.30. ODBC Driver of this version is using utf8mb4 as the default character set.