Mercurial > pidgin.yaz
diff libpurple/util.h @ 27766:056fb36a5770
propagate from branch 'im.pidgin.pidgin' (head 7a8f58fc7611c332a05ed1c1b8417be24c9cf981)
to branch 'im.pidgin.pidgin.yaz' (head 9937b0516237dfce73c86fd0407e37b0619e3037)
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Wed, 20 Feb 2008 06:56:39 +0000 |
parents | 9a60b9fab0ea |
children | 969a2aeae461 |
line wrap: on
line diff
--- a/libpurple/util.h Wed Feb 20 05:07:09 2008 +0000 +++ b/libpurple/util.h Wed Feb 20 06:56:39 2008 +0000 @@ -1254,4 +1254,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_ */