mcabber/src/utils.h
changeset 469 a926523d2392
parent 452 dfd9c62b3a39
child 524 05c0e55c4bb1
--- a/mcabber/src/utils.h	Sat Oct 01 18:53:14 2005 +0200
+++ b/mcabber/src/utils.h	Sat Oct 01 23:17:05 2005 +0200
@@ -1,6 +1,9 @@
 #ifndef __UTILS_H__
 #define __UTILS_H__ 1
 
+#define to_utf8(s)   ((s) ? g_locale_to_utf8((s),   -1, NULL,NULL,NULL) : NULL)
+#define from_utf8(s) ((s) ? g_locale_from_utf8((s), -1, NULL,NULL,NULL) : NULL)
+
 void ut_InitDebug(unsigned int level, const char *file);
 void ut_WriteLog(unsigned int flag, const char *data);