New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ORDER BY works wrong with COLLATION CS_CZ [CORE227] #558
Comments
Commented by: Alice F. Bird (firebirds) Date: 2004-05-17 15:32 According to me, this type of oredering is OK, but I am not |
Commented by: Alice F. Bird (firebirds) Date: 2004-05-14 17:47 I've done two things In addition I want to ask cony88 about other possible Does the standard (or the practice) tell something about Most <language>_<country> collations ignore these, abb Current Firebird CS_CZ collation doesn't ignore them a bc Comments? |
Commented by: Alice F. Bird (firebirds) Date: 2004-05-14 16:19 According to national standart 'ch' should be always |
Commented by: Alice F. Bird (firebirds) Date: 2004-05-14 15:47 Thanks for providing this bug report, it is The problem with the CS_CZ collation is, that it was Perhaps there are two conventions in use and so two In Firebird it's 2:2 Collations with ch digraph handling Collations without ch digraph handling As a workaround, just use a charset and collation Best Regards, |
Commented by: Alice F. Bird (firebirds) Date: 2004-05-14 14:05 PS: Firebird 1.5.0.4306, Win XP CZ, tested with IBEpert |
Modified by: @pcisarWorkflow: jira [ 10251 ] => Firebird [ 14483 ] |
Commented by: Ondrej Cerny (c.ondrej) Hi, this problem is still present in current version of firebird (tested on firebird 2.5.5 embedded). Currently with charset ISO8859_2 and collation CS_CZ, letter 'ch' is placed wrongly between 'c' and 'd' while it shoud be between 'h' and 'i'. |
Submitted by: cony88 (cony88)
Votes: 1
SFID: 953901#
Submitted By: cony88
Database with CHARACTER SET ISO8859_2. For Tables
with columns with Charset ISO8859_2 and collation
CS_CZ ORDER BY works incorrectly for letter 'ch'.
SELECT * FROM NEW_TABLE ORDER BY NAME order like
this:
cc
ch
cz
hh
kk
and should order like this
cc
cz
hh
ch
kk
ch in Czech language is taken like one letter which
should be between h and i.
Script to Crete test database:
SET SQL DIALECT 3;
CREATE DATABASE 'C:\DB\test.gdb' PAGE_SIZE 1024
DEFAULT CHARACTER SET ISO8859_2
CREATE TABLE "NEW_TABLE"
(
"NAME" VARCHAR(10) CHARACTER SET ISO8859_2
COLLATE CS_CZ
);
Now select:
SELECT * FROM NEW_TABLE ORDER BY NAME
The text was updated successfully, but these errors were encountered: