diff libpurple/util.h @ 25488:bb8ad59ae9c4

propagate from branch 'im.pidgin.pidgin' (head 62e9d17cd37551991c5040ce6ca48e6d7578dde3) to branch 'im.pidgin.pidgin.yaz' (head f809703c53ba0d2fc5eece06d368a3fcfec6748f)
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Sun, 20 May 2007 04:16:11 +0000
parents fd6c3dc4641f
children ff69c2a9ccf2
line wrap: on
line diff
--- a/libpurple/util.h	Sat May 19 08:12:31 2007 +0000
+++ b/libpurple/util.h	Sun May 20 04:16:11 2007 +0000
@@ -1142,4 +1142,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_ */