Mercurial > pidgin.yaz
diff libpurple/util.h @ 25518:db41905e7cc4
propagate from branch 'im.pidgin.pidgin' (head 9beed54f9b14fec268ec3cecae10261a9d43e1c8)
to branch 'im.pidgin.pidgin.yaz' (head e24ce4535ecd0d4d1467b0ee4cdaea370bd507fd)
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Sun, 24 Jun 2007 16:09:25 +0000 |
parents | c5c265dff90c ff69c2a9ccf2 |
children | 162a767a20d4 |
line wrap: on
line diff
--- a/libpurple/util.h Sun Jun 24 14:52:00 2007 +0000 +++ b/libpurple/util.h Sun Jun 24 16:09:25 2007 +0000 @@ -1174,4 +1174,10 @@ } #endif +/* to address incompatibility with cp932. */ +void botch_ucs(gchar *ucs, gssize len); +void sanitize_ucs(gchar *ucs, gssize len); +guchar *botch_utf(const void *utf, size_t len, size_t *newlen); +guchar *sanitize_utf(unsigned char *msg, size_t len, size_t *newlen); + #endif /* _PURPLE_UTIL_H_ */