From 466305d0ca11da051e6d1be823681fd54c831c08 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Mon, 29 May 2000 18:48:29 +0000 Subject: Add function to get the codeset name for the current locale. Mon May 29 14:10:35 2000 Owen Taylor * gutils.c (g_locale_get_codeset): Add function to get the codeset name for the current locale. * configure.in acconfig.h: Add check for nl_langinfo(CODESET); --- glib.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'glib.h') diff --git a/glib.h b/glib.h index ea31dbb22..d585282b9 100644 --- a/glib.h +++ b/glib.h @@ -1712,6 +1712,8 @@ gchar* g_get_current_dir (void); * must not be freed. */ gchar* g_getenv (const gchar *variable); +gchar * g_locale_get_codeset (void); + /* we use a GLib function as a replacement for ATEXIT, so * the programmer is not required to check the return value * (if there is any in the implementation) and doesn't encounter -- cgit v1.2.3