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

Wrong character encoding #2

Open
Zergius2 opened this issue Nov 1, 2017 · 1 comment
Open

Wrong character encoding #2

Zergius2 opened this issue Nov 1, 2017 · 1 comment

Comments

@Zergius2
Copy link

Zergius2 commented Nov 1, 2017

Hi

Great stuff! But what I've found out, that it works wrong with non-english characters in database. It makes dots out of any for example cyryllic letters:
79,NULL,"+380966478305","...... ..........","...... ..........",384,384,"........","
Is there any possibility to fix this? Or to point to it which encoding to use? Thanks.

@JamisHoo
Copy link

JamisHoo commented Feb 2, 2022

Just in case anybody comes across the same problem, I fix it by removing the if clause in tdump() and sqltdump() at file undark.c.

-               if (isprint(*p)) fprintf(stdout,"%c", *p); else fprintf(stdout,".");
+               fprintf(stdout,"%c", *p);

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

No branches or pull requests

2 participants