mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-16 01:06:15 +01:00
64e1b6d84f
2008-05-20 Behdad Esfahbod <behdad@gnome.org> Bug 501651 – Update glib/libcharset * configure.in: * glib/libcharset/Makefile.am: * glib/libcharset/README: * glib/libcharset/codeset.m4: * glib/libcharset/config.charset: * glib/libcharset/glibc21.m4: * glib/libcharset/libcharset-glib.patch: * glib/libcharset/libcharset.h: * glib/libcharset/localcharset.c (_g_locale_get_charset_aliases), (_g_locale_charset_raw): * glib/libcharset/localcharset.h: * glib/libcharset/make-patch.sh: * glib/libcharset/ref-add.sin: * glib/libcharset/ref-del.sin: * glib/libcharset/update.sh: Update libcharset to the one shipped with libiconv-0.12. svn path=/trunk/; revision=6921
44 lines
1.5 KiB
C
44 lines
1.5 KiB
C
/* Determine a canonical name for the current locale's character encoding.
|
|
Copyright (C) 2000-2003 Free Software Foundation, Inc.
|
|
This file is part of the GNU CHARSET Library.
|
|
|
|
This program is free software; you can redistribute it and/or modify it
|
|
under the terms of the GNU Library General Public License as published
|
|
by the Free Software Foundation; either version 2, or (at your option)
|
|
any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Library General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Library General Public
|
|
License along with this program; if not, write to the Free Software
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
|
USA. */
|
|
|
|
#ifndef _LOCALCHARSET_H
|
|
#define _LOCALCHARSET_H
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
|
|
/* Determine the current locale's character encoding, and canonicalize it
|
|
into one of the canonical names listed in config.charset.
|
|
The result must not be freed; it is statically allocated.
|
|
If the canonical name cannot be determined, the result is a non-canonical
|
|
name. */
|
|
extern const char * _g_locale_charset_raw (void);
|
|
extern const char * _g_locale_charset_unalias (const char *codeset);
|
|
extern const char * _g_locale_get_charset_aliases (void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
|
|
#endif /* _LOCALCHARSET_H */
|