1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-12-18 07:16:23 -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 ;
}