Bug #7976 | UTF-8 collation is not correct for some macedonian cyrillic letters | ||
---|---|---|---|
Submitted: | 18 Jan 2005 0:22 | Modified: | 18 Oct 2006 17:35 |
Reporter: | damjan | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 4.1.* | OS: | Linux (Linux) |
Assigned to: | Alexander Barkov | CPU Architecture: | Any |
[18 Jan 2005 0:22]
damjan
[18 Jan 2005 0:24]
damjan
python script
Attachment: mk-coll-test.py (application/octet-stream, text), 1.39 KiB.
[18 Jan 2005 0:27]
damjan
Since the bug reporting form mangled what I wrote, I've attached the python script and its output into this bug report. Also I've forgotten to say that this script uses MySQLdb-1.1.8 for python, compiled with the installed MySQL-4.1.7 libraries.
[18 Jan 2005 0:28]
damjan
Output of the script
Attachment: output.txt (text/plain), 714 bytes.
[20 Jan 2005 11:25]
Aleksey Kishkin
Hi! unfortunatelly web-based bug system converts all non-latin characters to numbers, and that is why it's hard to undrerstand the issue. Could you please put your message into text file (for example text file in utf8) and attach it to this issue?
[20 Jan 2005 11:34]
Aleksey Kishkin
sorry already see it in 'output'
[20 Jan 2005 11:47]
Aleksey Kishkin
tested on slackware 10 , mysqldb (mysql-python 1.0.1), mysqld 4.1.9
[21 Jan 2005 10:55]
Alexander Barkov
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.mysql.com/documentation/ and the instructions on how to report a bug at http://bugs.mysql.com/how-to-report.php Additional info: Hello Damjan, This is not a bug. You should use collation utf8_unicode_ci to get Macedonian letter sorted correctly. Please use this create creary: CREATE TABLE alphabet ( letter longtext NOT NULL ) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci; Then insert the letters and try sorting again. It will return the resuls in correct order.
[21 Jan 2005 12:34]
damjan
Thank you, I didn't know that I have to use utf8_unicode_ci. I confirm that it works even with mysq-4.1.7
[18 Oct 2006 16:38]
[ name withheld ]
I've encountered this problem too, but my point is different here. I'm just not ok with recalling to these leters as macedonian and metioning the term 'macedonian alphabet'. Macedonia is a country situated next to Bulgaria which is where I'm from. Macedonia also used to be bulgarian territory some decades ago. Bulgaria was established in 681 AD and has its own alphabet - bulgarian which is reffered as macedonian here. You can investigate further. So just to let you guys know. Also I'll be very thankful if you change the topic.
[18 Oct 2006 17:35]
damjan
[ name withheld ] get a life
[17 Nov 2009 22:06]
Igor Janevski
OMG , really get a life. What you said is not applicable here also because the bulgarian language does not have letters like J,Lj,Kj etc etc etc (cannot write them in Cyrillic here). On behalf of the people who are looking for technical help and answers, please don't pollute the this site....