Some changes to make doublewidth chars possibly work (or possibly horribly

break whole utf8 support :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2956 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-10-14 18:33:29 +00:00 committed by cras
commit 2aaec5adc7
4 changed files with 120 additions and 17 deletions

View file

@ -18,4 +18,7 @@ int utf16_char_to_utf8(unichar c, char *outbuf);
Make sure out is at least 6 x length of str. */
void utf16_to_utf8(const unichar *str, char *out);
/* Returns width for character (0-2). */
int utf8_width(unichar c);
#endif