aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-unicode.h
diff options
context:
space:
mode:
authorLauris Kaplinski <lauris@src.gnome.org>2001-01-03 11:03:34 +0800
committerLauris Kaplinski <lauris@src.gnome.org>2001-01-03 11:03:34 +0800
commit33e0d0e847cee22aaa127e3ae1e75c27cc41f5b4 (patch)
treefd13e80fef99053bf72afbd9618a3e3be77fabdc /widgets/misc/e-unicode.h
parent71bf4380a14b21d61b228255df2aeb014e25cdb4 (diff)
downloadgsoc2013-evolution-33e0d0e847cee22aaa127e3ae1e75c27cc41f5b4.tar.gz
gsoc2013-evolution-33e0d0e847cee22aaa127e3ae1e75c27cc41f5b4.tar.zst
gsoc2013-evolution-33e0d0e847cee22aaa127e3ae1e75c27cc41f5b4.zip
Added functions for encoding utf8 safely into libxml brokenness
svn path=/trunk/; revision=7225
Diffstat (limited to 'widgets/misc/e-unicode.h')
-rw-r--r--widgets/misc/e-unicode.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/widgets/misc/e-unicode.h b/widgets/misc/e-unicode.h
index 7734661bef..1b51595f6c 100644
--- a/widgets/misc/e-unicode.h
+++ b/widgets/misc/e-unicode.h
@@ -1,6 +1,16 @@
#ifndef _E_UNICODE_H_
#define _E_UNICODE_H_
+/*
+ * UTF-8 support functions for gal
+ *
+ * Authors:
+ * Lauris Kaplinski <lauris@helixcode.com>
+ *
+ * Copyright (C) 2000-2001 Helix Code, Inc.
+ *
+ */
+
#include <sys/types.h>
#include <glib.h>
#include <gtk/gtk.h>
@@ -15,6 +25,8 @@ BEGIN_GNOME_DECLS
#define gnome_font_lookup_default gnome_font_get_glyph
#endif
+#define G_UTF8_IN_GAL
+
void e_unicode_init (void);
/*
@@ -56,6 +68,9 @@ GtkWidget *e_utf8_gtk_menu_item_new_with_label (GtkMenu *menu, const gchar *labe
void e_utf8_gtk_clist_set_text (GtkCList *clist, gint row, gint col, const gchar *text);
gint e_utf8_gtk_clist_append (GtkCList *clist, gchar *text[]);
+gchar * e_utf8_xml1_decode (const gchar *text);
+gchar * e_utf8_xml1_encode (const gchar *text);
+
gint g_unichar_to_utf8 (gint c, gchar *outbuf);
guint32 gdk_keyval_to_unicode (guint keysym);