Created
December 15, 2015 06:52
-
-
Save dveeden/e5fac8f206a5bf52b5d6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql> SELECT 'Café' COLLATE utf8mb4_unicode_ci = 'Cafe' COLLATE utf8mb4_unicode_ci AS test1; | |
+-------+ | |
| test1 | | |
+-------+ | |
| 1 | | |
+-------+ | |
1 row in set (0.00 sec) | |
mysql> SELECT '🍣 ' COLLATE utf8mb4_unicode_ci = '🍺 ' COLLATE utf8mb4_unicode_ci AS test2; | |
+-------+ | |
| test2 | | |
+-------+ | |
| 1 | | |
+-------+ | |
1 row in set (0.00 sec) | |
mysql> SELECT '🍣 ' COLLATE utf8mb4_unicode_520_ci = '🍺 ' COLLATE utf8mb4_unicode_520_ci AS test3; | |
+-------+ | |
| test3 | | |
+-------+ | |
| 0 | | |
+-------+ | |
1 row in set (0.01 sec) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment