diff options
author | Owen Taylor <otaylor@redhat.com> | 2000-05-29 18:48:29 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2000-05-29 18:48:29 +0000 |
commit | 466305d0ca11da051e6d1be823681fd54c831c08 (patch) | |
tree | 7107625f66e72a22e8ab9eb8dd02acea987b3797 /glib.h | |
parent | 1fe02b28ad2e689d5d93cf389eeafa3d84f5fea6 (diff) |
Add function to get the codeset name for the current locale.
Mon May 29 14:10:35 2000 Owen Taylor <otaylor@redhat.com>
* 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);
Diffstat (limited to 'glib.h')
-rw-r--r-- | glib.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |