473,386 Members | 1,753 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

ORDER BY with accents

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
Jul 19 '05 #1
4 4294
> 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.


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
Jul 19 '05 #2
> 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.


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
Jul 19 '05 #3
> 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.


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
Jul 19 '05 #4
> 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.


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
Jul 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: c w | last post by:
Can anyone point me in the right direction? Using Oracle 9i, Pro*C and Excel. I am trying to print french accents from the Oracle DB using Pro*C to extract the necessary info and sent the result...
0
by: Wim Roffal | last post by:
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,...
3
by: Cherif Diallo | last post by:
Hi I have a trivial question for the experts. I would lilke to read be able to read a text file that could contain french characters with accents. I'm opening the file with the...
3
by: jim | last post by:
Hi, I can't gte accents in the subject and body fields of an e-mail ! This is my code : document.location.href = 'mailto:webmaster@mysite.com?subject=the subject is éléphant&body=elephant is...
0
by: Johnny Jörgensen | last post by:
Has anyone got a good idea as to how I can systematically remove accents from characters in a string? I.e. I want to do a function that can change "Ségolène Royal" (just to take a current...
5
by: Amy L. | last post by:
I am at an absolute loss on what is going on here. I have a text file with some Spanish writing. Some of the characters have accents. I have not found anyway to read this text file and echo the...
7
xNephilimx
by: xNephilimx | last post by:
lHi guys! I'm having a little problem that's getting on my nerves, I couldn't find a solution, I also tryed googling it and I found nothing... (my field of expertise is in AS 2 and 3, but I still...
1
by: theduffman | last post by:
Hi, I'm trying to write code to update nightly some NHL stats. Everything works, except for names with an accent, e.g. José Théodore. This won't generate a match no matter what I try. I've edited...
2
by: LittleLeopard | last post by:
Hi, I hope somebody can help me. I’m working on this website English/Portuguese and for example on this page http://www.goulartfilmes.com/en//IvyGoulart/tabid/54/Default.aspx we can see the...
5
by: arty | last post by:
i have set up a xhr , all the accents on the page are showed ok on ff an safari function _cms() { cms.open("GET", 'cms.php', true); cms.setRequestHeader('If-Modified-Since','Wed, 05 Apr 2006...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.