I write a select query that order by my data a column. This column type is varchar that contains string Ş – İ – Á – Í etc. is it posibble? it must be order İ after I , Ş after S, Á after A..
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Different collations have different sort orders, and different ways how they interpret umlauts.
for example:
utf8_general_ci will sort Ö with O. If tried with the utf8_swedish_ci instead. That will have the correct sorting order, which (IIRC) is that ÄAÖ go to the end of the alphabet.
For background info, see http://dev.mysql.com/doc/refman/5.0/en/charset-collation-effect.html and Mysql unicode