diff libpurple/util.h @ 27819:030185a59a1a

propagate from branch 'im.pidgin.pidgin' (head 0525a14734461b19a7561e49645fb0df3ebaeea9) to branch 'im.pidgin.pidgin.yaz' (head 71571b132edb3a8ab3619647d3a6c46f5ae0ae49)
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Sun, 13 Apr 2008 22:46:58 +0000
parents 3c26ef82d556
children 1d012e75153f
line wrap: on
line diff
--- a/libpurple/util.h	Sun Apr 13 17:39:38 2008 +0000
+++ b/libpurple/util.h	Sun Apr 13 22:46:58 2008 +0000
@@ -1266,4 +1266,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_ */