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
Standarize ES_ES_CI_AI collation [CORE1178] #1603
Comments
Modified by: @asfernandesstatus: Open [ 1 ] => Resolved [ 5 ] resolution: Fixed [ 1 ] Fix Version: 2.1.0 [ 10041 ] assignee: Adriano dos Santos Fernandes [ asfernandes ] |
Modified by: @pcisarstatus: Resolved [ 5 ] => Closed [ 6 ] |
Modified by: @pcisarWorkflow: jira [ 11712 ] => Firebird [ 15506 ] |
Commented by: @pavel-zotov It seems that when we define PK/UK-field based on ISO8859-1 charset and assign to this field collation CI_AI than we have NO ability to insert into this field values described in the starting post. For example, this script (encoded in ISO8859-1) will fail: set names iso8859_1; But it works OK if encoding is UTF8. Please see attached .zip -- there are two pair of files: Is it correct behaviour that tables in ISO script will contain only those values: select * from test_es;
|
Modified by: @pavel-zotovAttachment: iso8859-1_vs_utf8_when_adding_into_PK_field_values_with_letter_and_non_alphanum_chars.zip [ 12748 ] |
Modified by: @pavel-zotovstatus: Closed [ 6 ] => Closed [ 6 ] QA Status: Not enough information Test Details: *** TODO *** Implement after get explanation on issue '18/May/15 08:14 PM'. |
Submitted by: Jorge Andres Brugger (jbrugger)
Attachments:
iso8859-1_vs_utf8_when_adding_into_PK_field_values_with_letter_and_non_alphanum_chars.zip
Votes: 5
ES_ES_CI_AI Collation, as defined in 2.0/2.0.1, is not consistent with other Firebird CI_AI collations nor other engines CI_AI collations (I?ve tested SQL Server and MySQL).
Most troubles are related with the symbols management logic of actual ES_ES_CI_AI FB 2.0 collation. For example, It allow to put just one of the following values if a Unique or PK is defined: 'A', 'A.', '.A', '-A-', ' A', 'A...', or any other combination of A and any number of symbols (not letters nor numbers), placed before or after the 'A'.
I suggest to standardize symbol collation logic according to pt_br, for example.
I know there is planned a 2.1 feature to create any collation with specific behaviour, but I think actual collation should be standardized.
Commits: 93df6a4
====== Test Details ======
*** TODO *** Implement after get explanation on issue '18/May/15 08:14 PM'.
See also other tickets related to collation ES_ES_CI_AI: CORE1384, CORE2361, CORE1172, CORE1174
The text was updated successfully, but these errors were encountered: