undark icon indicating copy to clipboard operation
undark copied to clipboard

Wrong character encoding

Open Zergius2 opened this issue 8 years ago • 1 comments

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.

Zergius2 avatar Nov 01 '17 15:11 Zergius2

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);

JamisHoo avatar Feb 02 '22 10:02 JamisHoo