[TYPO3-dev] UTF-8 and correct sorting for German umlauts

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Wed Aug 30 11:16:42 CEST 2006


Peter Russ schrieb:
> Trying to get correct sorted list out of static_countries UTF-8 coded 
> for German either delivers Umlaut at the beginning, in between or at the 
> end of the list but never at the right place, depending on the collate 
> setting utf8_general_ci, utf8_unicode_ci or utf8_bin.

The docs [1] say this:

utf8_general_ci (similar to latin1_german1_ci):

Ä = A
Ö = O
Ü = U
ß = s

utf8_unicode_ci:

Ä = A
Ö = O
Ü = U
ß = ss

So in *theory* all should be fine ;-)

Note that there is no utf8 equivalent to latin1_german2_ci:

Ä = AE
Ö = OE
Ü = UE
ß = ss

Masi

[1] http://dev.mysql.com/doc/refman/5.1/de/charset-unicode-sets.html




More information about the TYPO3-dev mailing list