Bug #76553 Sushi-Beer issue of MySQL with utf8mb4
| Submitted: | 1 Apr 2015 6:15 | Modified: | 19 Sep 2017 12:34 |
|---|---|---|---|
| Reporter: | Ryuta Kamizono | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Charsets | Severity: | S2 (Serious) |
| Version: | 5.6.23, 5.7.6, 5.6.24 | OS: | Any |
| Assigned to: | CPU Architecture: | Any |
[1 Apr 2015 6:15]
Ryuta Kamizono
[1 Apr 2015 6:28]
Ryuta Kamizono
The posted contents after Emoji had been truncated... Please refer to the link for how to reproduce: https://gist.github.com/kamipo/37576ce436c564d8cc28
[22 Apr 2015 9:55]
Ryuta Kamizono
What do you think about this issue?
[22 Apr 2015 11:17]
MySQL Verification Team
Hello Ryuta Kamizono, Thank you for the bug report and test case. Thanks, Umesh
[20 Sep 2015 14:12]
Daniël van Eeden
The query against the different tables. One row is expected.
utf8mb_bin = OK
utf8mb4_unicode_520_ci = OK
utf8mb4_unicode_ci = NOT OK
utf8mb4_general_ci = NOT OK
mysql [localhost] {msandbox} (sushibeer) > SELECT HEX(item), HEX(WEIGHT_STRING(item)) FROM wishlist_unicode_520 WHERE item = X'F09F8DA3';
+-----------+--------------------------+
| HEX(item) | HEX(WEIGHT_STRING(item)) |
+-----------+--------------------------+
| F09F8DA3 | FBC3F363 |
+-----------+--------------------------+
1 row in set (0.00 sec)
mysql [localhost] {msandbox} (sushibeer) > SELECT HEX(item), HEX(WEIGHT_STRING(item)) FROM wishlist_unicode WHERE item = X'F09F8DA3';
+-----------+--------------------------+
| HEX(item) | HEX(WEIGHT_STRING(item)) |
+-----------+--------------------------+
| F09F8DA3 | FFFD |
| F09F8DBA | FFFD |
+-----------+--------------------------+
2 rows in set (0.00 sec)
mysql [localhost] {msandbox} (sushibeer) > SELECT HEX(item), HEX(WEIGHT_STRING(item)) FROM wishlist_general WHERE item = X'F09F8DA3';
+-----------+--------------------------+
| HEX(item) | HEX(WEIGHT_STRING(item)) |
+-----------+--------------------------+
| F09F8DA3 | FFFD |
| F09F8DBA | FFFD |
+-----------+--------------------------+
2 rows in set (0.00 sec)
mysql [localhost] {msandbox} (sushibeer) > SELECT HEX(item), HEX(WEIGHT_STRING(item)) FROM wishlist_bin WHERE item = X'F09F8DA3';
+-----------+--------------------------+
| HEX(item) | HEX(WEIGHT_STRING(item)) |
+-----------+--------------------------+
| F09F8DA3 | 01F363 |
+-----------+--------------------------+
1 row in set (0.00 sec)
[15 Jan 2017 21:59]
Manyi Lu
See also: http://mysqlserverteam.com/sushi-beer-an-introduction-of-utf8-support-in-mysql-8-0/
[9 Sep 2017 20:47]
MySQL Verification Team
https://bugs.mysql.com/bug.php?id=87700 marked as duplicate of this one.
[19 Sep 2017 12:34]
Manyi Lu
Posted by developer: New utf8mb4 collations in 8.0 solved the problems listed in this bug report.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.041 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.