Skip to content
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

isql crash on accented character insert [CORE5575] #5842

Open
firebird-automations opened this issue Jul 3, 2017 · 0 comments
Open

isql crash on accented character insert [CORE5575] #5842

firebird-automations opened this issue Jul 3, 2017 · 0 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Sergio Reyes-Peniche (sreyesp)

My Windows cmd.exe defaults to DOS850. I can insert accented characters into an utf8 database from isql like this:

insert into test01 (m_text) values (_dos850 'Séptimo registro.');

select * from test01 shows gibberish instead of the 'é'. If I exit from isql, change codepage to UTF8 with
`chcp 65001` and run isql again, the 'é' shows OK (I have my cmd.exe configured to use Lucida Console, a unicode font).

But, with cmd.exe using UTF8, if I try now:

insert into test01 (m_text) values ('Enésimo registro.');

isql crashes and returns me to the cmd prompt.

I have tried with (_utf8 'Enésimo registro.') and (_dos850 'Enésimo registro.') and isql keeps crashing. I must exit isql,
chcp 850, run isql and insert the new data, exit isql, chcp 65001 and rerun isql to check the new inserts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant