diff libpurple/util.h @ 27774:5f2dc6845abe

propagate from branch 'im.pidgin.pidgin' (head 11e051b0990ea8111b60dfc98d81dfbd4e3ad25e) to branch 'im.pidgin.pidgin.yaz' (head 2123ff98aeedc411c0c2d79b2a9fd3c0155ba9fd)
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Fri, 29 Feb 2008 17:59:29 +0000
parents 0f3a131d23da
children 3c26ef82d556
line wrap: on
line diff
--- a/libpurple/util.h	Fri Feb 29 15:45:48 2008 +0000
+++ b/libpurple/util.h	Fri Feb 29 17:59:29 2008 +0000
@@ -1263,4 +1263,10 @@
 }
 #endif
 
+/* to address incompatibility with cp932. */
+void botch_ucs(gchar *ucs, gsize len);
+void sanitize_ucs(gchar *ucs, gsize len);
+gchar *botch_utf(const gchar *utf, gsize len, gsize *newlen);
+gchar *sanitize_utf(const gchar *msg, gsize len, gsize *newlen);
+
 #endif /* _PURPLE_UTIL_H_ */