1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-11-14 08:36:05 -05:00

termio support of unicode.

This commit is contained in:
Renaud 2013-06-06 16:14:15 +08:00
parent 70dab2c8d8
commit 102618586f

View File

@ -286,7 +286,11 @@ int ttputc( int c) {
#endif
#if V7 | USG | BSD
fputc(c, stdout);
char utf8[6];
int bytes;
bytes = unicode_to_utf8(c, utf8);
fwrite(utf8, 1, bytes, stdout);
#endif
return 0 ;
}