undark
undark copied to clipboard
Wrong character encoding
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.
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);