Mercurial > pidgin.yaz
diff libpurple/util.h @ 27768:969a2aeae461
propagate from branch 'im.pidgin.pidgin' (head b7875f81b48bb1a776ac4b2473cc7376cb35b0f9)
to branch 'im.pidgin.pidgin.yaz' (head e22890a44520ea1129da935f8ce82ea795081201)
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Wed, 27 Feb 2008 12:21:29 +0000 |
parents | dc47e908965f 9a60b9fab0ea |
children | c9b4fdb3fdb1 |
line wrap: on
line diff
--- a/libpurple/util.h Wed Feb 27 09:18:06 2008 +0000 +++ b/libpurple/util.h Wed Feb 27 12:21:29 2008 +0000 @@ -1263,4 +1263,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_ */