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
New collation not installed [CORE1364] #1782
Comments
Modified by: @asfernandesassignee: Adriano dos Santos Fernandes [ asfernandes ] |
Modified by: @pcisarWorkflow: jira [ 12610 ] => Firebird [ 14203 ] |
Commented by: @pavel-zotov Consider two scripts from attached file ("c1364-wrong-result-when-connect-using-utf8-charset.zip"). 1) When I run in command prompt test that uses ISO8859_1 as connection charset then all works fine: C:\MIX\firebird\QA\fbt-repo\tmp>C:\MIX\firebird\fb40\isql -q -i c1364-iso8859.sql 1>c1364-iso8859.log 2) But when i change code page to 65001 (somewhat like utf8 for Windows) and use UTF8 as connection charset than almost half of required output is missed. C:\MIX\firebird\QA\fbt-repo\tmp>chcp 65001 C:\MIX\firebird\QA\fbt-repo\tmp>C:\MIX\firebird\fb40\isql -q -i c1364-utf8.sql 1>c1364-utf8.log Is it expected ? PS. One may to check result of following statements rather than downloading zip and run test scripts: select 1 from rdb$database where _iso8859_1 'àâçéèêëîïôùûü' collate fr_fr_ci_ai like '%î%'; If you will run them using UTF8 charset then result will be empty (no rows). |
Modified by: @pavel-zotovAttachment: c1364-wrong-result-when-connect-using-utf8-charset.zip [ 13298 ] |
Modified by: @pavel-zotovstatus: Resolved [ 5 ] => Resolved [ 5 ] QA Status: Deferred Test Details: Waiting for reply on note 31-AUG-2018 10:53. |
Submitted by: @pmakowski
Attachments:
c1364-wrong-result-when-connect-using-utf8-charset.zip
trying to add a new collation fail
execute procedure sp_register_collation ('ISO8859_1', 'FR_FR_CI_AI','FR_FR',7);
COMMIT;
SELECT F1 FROM T1 WHERE F1 COLLATE FR_FR_CI_AI LIKE '%u%'
Error "COLLATION FR_FR_CI_AI for CHARACTER SET ISO8859_1 is not installed"
====== Test Details ======
Waiting for reply on note 31-AUG-2018 10:53.
The text was updated successfully, but these errors were encountered: