MySQL Forums
Forum List  »  German

UTF-8: Deutsche Umlaute richtig sortieren
Posted by: Werner Wieser
Date: August 12, 2008 08:34AM

Hallo!

Ich suche eine Möglichkeit, wie ich deutsche Umlaute richtig sortieren kann. Meine Spalte hat als Character Set "utf8". Wie kann ich so sortieren, dass dabei eine richtige deutsche Reihenfolge herauskommt, bei der ein 'Ü' als 'Ue', ein 'Ä' als 'Ae' etc. behandelt wird?

Beispiel: "... ORDER BY name ASC" soll so sortieren:

+------------+
| name       |
+------------+
| Albrecht   |
| Berta      |
| Marta      |
| Müller     |
| Überwasser |
| Unteruns   |
| Zeppelin   |
+------------+

Geht das mit UTF-8? Ich kann auf keine andere Sortierung umsteigen, ein latin1 kommt also leider nicht in Frage.

Vielen Dank,
WW

Options: ReplyQuote


Subject
Views
Written By
Posted
UTF-8: Deutsche Umlaute richtig sortieren
15057
August 12, 2008 08:34AM


Sorry, you can't reply to this topic. It has been closed.

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.