aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-unicode.h
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-02-07 06:57:01 +0800
committerChris Lahey <clahey@src.gnome.org>2001-02-07 06:57:01 +0800
commit4a01c7558799e57732fe620670d6a73f1859c1b5 (patch)
treef798c00be2dab14a25f4ee1d250a91f3832afbfc /widgets/misc/e-unicode.h
parent2a8a66ab471738acc605c29169cfbe418146ceab (diff)
downloadgsoc2013-evolution-4a01c7558799e57732fe620670d6a73f1859c1b5.tar.gz
gsoc2013-evolution-4a01c7558799e57732fe620670d6a73f1859c1b5.tar.zst
gsoc2013-evolution-4a01c7558799e57732fe620670d6a73f1859c1b5.zip
Check for nl_langinfo (CODESET). Code taken from glib 1.3 branch.
2001-02-06 Christopher James Lahey <clahey@ximian.com> * configure.in: Check for nl_langinfo (CODESET). Code taken from glib 1.3 branch. * gal/widgets/e-font.c, gal/widgets/e-font.h (e_locale_encoding): Added e_locale_encoding, e_iconv_from_locale, and e_iconv_to_locale. * gal/widgets/e-unicode.c, gal/widgets/e-unicode.h: Added e_utf8_from_locale_string, e_utf8_from_locale_string_sized, e_utf8_to_locale_string, e_utf8_to_locale_string_sized. svn path=/trunk/; revision=8032
Diffstat (limited to 'widgets/misc/e-unicode.h')
-rw-r--r--widgets/misc/e-unicode.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/widgets/misc/e-unicode.h b/widgets/misc/e-unicode.h
index 1b51595f6c..8f0c8b646d 100644
--- a/widgets/misc/e-unicode.h
+++ b/widgets/misc/e-unicode.h
@@ -46,9 +46,14 @@ gchar *e_utf8_from_gtk_event_key (GtkWidget *widget, guint keyval, const gchar *
gchar *e_utf8_from_gtk_string (GtkWidget *widget, const gchar *string);
gchar *e_utf8_from_gtk_string_sized (GtkWidget *widget, const gchar *string, gint bytes);
-gchar * e_utf8_to_gtk_string (GtkWidget *widget, const gchar *string);
-gchar * e_utf8_to_gtk_string_sized (GtkWidget *widget, const gchar *string, gint bytes);
+gchar *e_utf8_to_gtk_string (GtkWidget *widget, const gchar *string);
+gchar *e_utf8_to_gtk_string_sized (GtkWidget *widget, const gchar *string, gint bytes);
+gchar *e_utf8_from_locale_string (const gchar *string);
+gchar *e_utf8_from_locale_string_sized (const gchar *string, gint bytes);
+
+gchar *e_utf8_to_locale_string (const gchar *string);
+gchar *e_utf8_to_locale_string_sized (const gchar *string, gint bytes);
/*
* These are simple wrappers that save us some typing
*/