In NLD9.0 How to print Chinese Characters correctly?
In NLD9.0 (Chinese Language Version) with KDE
In my program <with curses.h and initscr()>, how can i print chinese correctly. I have installed zhcon.tar.gz. But every time I type zhcon, prints out "/dev/pts/1 is not real tty or vc. Please close the current tty and try again."
How to fix this problem? or something alse I neet to install or configure???
Thank you very much!!!
/*here below is my sample code which cannot print chinese correctly.*/
/**************************************************/
#include <curses.h>
int main()
{
initscr();
printw("xxxxxxxxx"); /*Chinese characters here*/
refresh();
getch();
endwin();
return 0;
}
/**************************************************/
|