In the Character Sets and Sorts Supported by MySQL I can only notice two German mappings:
- latin1_german1_ci
- latin1_german2_ci
It seems latin1_german2_ci is the one you want, however it expects Latin1:
latin1_german2_ci (phone book):
If your table / column is not yet used, you can force this sorting in the query itself, for example:
mysql> SELECT _latin1'oe' collate latin1_german2_ci ='ö' AS are_equal; +-----------+ | are_equal | +-----------+ | 1 | +-----------+ 1 row in set (0.00 sec)
If your application uses Latin1, this should do the trick. Otherwise, I honestly have no idea :)
Disclaimer: I do not know anything about him. There may be another language that uses similar rules.
source share