diff libpurple/util.h @ 27858:a5bb767b8644

propagate from branch 'im.pidgin.pidgin' (head 420b71541a7786d593759ead8d775f487291fb97) to branch 'im.pidgin.pidgin.yaz' (head 63207704bdd62ed93263dbb54f5ede5d640e2e5a)
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Tue, 17 Jun 2008 09:06:41 +0000
parents 30eaeb7cc076
children 57727a140609
line wrap: on
line diff
--- a/libpurple/util.h	Mon Jun 16 15:19:11 2008 +0000
+++ b/libpurple/util.h	Tue Jun 17 09:06:41 2008 +0000
@@ -1275,4 +1275,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_ */