We're upgrading MySQLs from 5.0 to 5.5, and running into the predictable utf8_general_ci bu^Wwe-meant-to-do-that with german ß and similar characters. The server swallowed the existing datafiles (thank god for that) so we're up and running, but "check table" does whine about needing a full rebuild, which is clearly that issue.
Now, I'm aware that this should be fixed by using the utf8_unicode_ci collation; but somehow it isn't...
The its-not-a-bug-but-heres-the-fix collation utf8_general_mysql500_ci does work, but honestly I feel that that's kind of dirty.
Any ideas why utf8_unicode_ci doesn't work as expected? The new server version is 5.5.24-1~dotdeb.1-log.
mysql> insert into search_johan select * from search_total; ERROR 1062 (23000): Duplicate entry 'cœur' for key 'PRIMARY'
--
Linux Bier Wanderung 2012, now also available in Belgium! August, 12 to 19, Diksmuide, Belgium - http://lbw2012.tuxera.be
Aug 27
Rick James RE: MySQL, UTF8 and collations
Aug 27, 2012; 10:27
Rick James
RE: MySQL, UTF8 and collations
Aug 28
Johan De Meersman Re: MySQL, UTF8 and collations
Aug 28, 2012; 10:49
Johan De Meersman
Re: MySQL, UTF8 and collations
Aug 28
Rick James RE: MySQL, UTF8 and collations
Aug 28, 2012; 09:08
Rick James
RE: MySQL, UTF8 and collations
Aug 28
Shawn Green Re: MySQL, UTF8 and collations
Aug 28, 2012; 15:01
Shawn Green
Re: MySQL, UTF8 and collations
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!