Connecting Tech Pros Worldwide Forums | Help | Site Map

ORDER BY with accents

Wim Roffal
Guest
 
Posts: n/a
#1: Jul 20 '05
When I sort texts with accents the accents end up in the end instead of near
the same text without accent.

For example, the 3 composers Händel, Haydn and Holst will appear in the
order Haydn, Holst, Händel.

Is it possible to instruct MySql to ignore the accents so that Händel comes
in first instead of last?

Thanks in advance,
Wim


Lukas Bradley
Guest
 
Posts: n/a
#2: Jul 20 '05

re: ORDER BY with accents


> When I sort texts with accents the accents end up in the end instead of near[color=blue]
> the same text without accent.
>
> For example, the 3 composers Händel, Haydn and Holst will appear in the
> order Haydn, Holst, Händel.[/color]

You'll want to review the MySQL manual at
http://www.mysql.com/documentation/m...l#Localisation

Take a particular look at the German character set section.

http://www.mysql.com/documentation/m..._character_set

Lukas
Lukas Bradley
Guest
 
Posts: n/a
#3: Jul 20 '05

re: ORDER BY with accents


> When I sort texts with accents the accents end up in the end instead of near[color=blue]
> the same text without accent.
>
> For example, the 3 composers Händel, Haydn and Holst will appear in the
> order Haydn, Holst, Händel.[/color]

You'll want to review the MySQL manual at
http://www.mysql.com/documentation/m...l#Localisation

Take a particular look at the German character set section.

http://www.mysql.com/documentation/m..._character_set

Lukas
Lukas Bradley
Guest
 
Posts: n/a
#4: Jul 20 '05

re: ORDER BY with accents


> When I sort texts with accents the accents end up in the end instead
of near[color=blue]
> the same text without accent.
>
> For example, the 3 composers Händel, Haydn and Holst will appear in the
> order Haydn, Holst, Händel.[/color]

You'll want to review the MySQL manual at
http://www.mysql.com/documentation/m...l#Localisation

Take a particular look at the German character set section.

http://www.mysql.com/documentation/m..._character_set

Lukas
Lukas Bradley
Guest
 
Posts: n/a
#5: Jul 20 '05

re: ORDER BY with accents


> When I sort texts with accents the accents end up in the end instead
of near[color=blue]
> the same text without accent.
>
> For example, the 3 composers Händel, Haydn and Holst will appear in the
> order Haydn, Holst, Händel.[/color]

You'll want to review the MySQL manual at
http://www.mysql.com/documentation/m...l#Localisation

Take a particular look at the German character set section.

http://www.mysql.com/documentation/m..._character_set

Lukas
Closed Thread