Blame lib/localcharset.h

Packit Service a2489d
/* Determine a canonical name for the current locale's character encoding.
Packit Service a2489d
   Copyright (C) 2000-2003, 2009-2018 Free Software Foundation, Inc.
Packit Service a2489d
   This file is part of the GNU CHARSET Library.
Packit Service a2489d
Packit Service a2489d
   This program is free software; you can redistribute it and/or modify
Packit Service a2489d
   it under the terms of the GNU General Public License as published by
Packit Service a2489d
   the Free Software Foundation; either version 3, or (at your option)
Packit Service a2489d
   any later version.
Packit Service a2489d
Packit Service a2489d
   This program is distributed in the hope that it will be useful,
Packit Service a2489d
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service a2489d
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit Service a2489d
   GNU General Public License for more details.
Packit Service a2489d
Packit Service a2489d
   You should have received a copy of the GNU General Public License along
Packit Service a2489d
   with this program; if not, see <https://www.gnu.org/licenses/>.  */
Packit Service a2489d
Packit Service a2489d
#ifndef _LOCALCHARSET_H
Packit Service a2489d
#define _LOCALCHARSET_H
Packit Service a2489d
Packit Service a2489d
Packit Service a2489d
#ifdef __cplusplus
Packit Service a2489d
extern "C" {
Packit Service a2489d
#endif
Packit Service a2489d
Packit Service a2489d
Packit Service a2489d
/* Determine the current locale's character encoding, and canonicalize it
Packit Service a2489d
   into one of the canonical names listed below.
Packit Service a2489d
   The result must not be freed; it is statically allocated.
Packit Service a2489d
   If the canonical name cannot be determined, the result is a non-canonical
Packit Service a2489d
   name.  */
Packit Service a2489d
extern const char * locale_charset (void);
Packit Service a2489d
Packit Service a2489d
/* About GNU canonical names for character encodings:
Packit Service a2489d
Packit Service a2489d
   Every canonical name must be supported by GNU libiconv.  Support by GNU libc
Packit Service a2489d
   is also desirable.
Packit Service a2489d
Packit Service a2489d
   The name is case insensitive.  Usually an upper case MIME charset name is
Packit Service a2489d
   preferred.
Packit Service a2489d
Packit Service a2489d
   The current list of these GNU canonical names is:
Packit Service a2489d
Packit Service a2489d
       name              MIME?             used by which systems
Packit Service a2489d
                                    (darwin = Mac OS X, windows = native Windows)
Packit Service a2489d
Packit Service a2489d
   ASCII, ANSI_X3.4-1968       glibc solaris freebsd netbsd darwin minix cygwin
Packit Service a2489d
   ISO-8859-1              Y   glibc aix hpux irix osf solaris freebsd netbsd openbsd darwin cygwin
Packit Service a2489d
   ISO-8859-2              Y   glibc aix hpux irix osf solaris freebsd netbsd openbsd darwin cygwin
Packit Service a2489d
   ISO-8859-3              Y   glibc solaris cygwin
Packit Service a2489d
   ISO-8859-4              Y   hpux osf solaris freebsd netbsd openbsd darwin
Packit Service a2489d
   ISO-8859-5              Y   glibc aix hpux irix osf solaris freebsd netbsd openbsd darwin cygwin
Packit Service a2489d
   ISO-8859-6              Y   glibc aix hpux solaris cygwin
Packit Service a2489d
   ISO-8859-7              Y   glibc aix hpux irix osf solaris freebsd netbsd openbsd darwin cygwin
Packit Service a2489d
   ISO-8859-8              Y   glibc aix hpux osf solaris cygwin
Packit Service a2489d
   ISO-8859-9              Y   glibc aix hpux irix osf solaris freebsd darwin cygwin
Packit Service a2489d
   ISO-8859-13                 glibc hpux solaris freebsd netbsd openbsd darwin cygwin
Packit Service a2489d
   ISO-8859-14                 glibc cygwin
Packit Service a2489d
   ISO-8859-15                 glibc aix irix osf solaris freebsd netbsd openbsd darwin cygwin
Packit Service a2489d
   KOI8-R                  Y   glibc hpux solaris freebsd netbsd openbsd darwin
Packit Service a2489d
   KOI8-U                  Y   glibc freebsd netbsd openbsd darwin cygwin
Packit Service a2489d
   KOI8-T                      glibc
Packit Service a2489d
   CP437                       dos
Packit Service a2489d
   CP775                       dos
Packit Service a2489d
   CP850                       aix osf dos
Packit Service a2489d
   CP852                       dos
Packit Service a2489d
   CP855                       dos
Packit Service a2489d
   CP856                       aix
Packit Service a2489d
   CP857                       dos
Packit Service a2489d
   CP861                       dos
Packit Service a2489d
   CP862                       dos
Packit Service a2489d
   CP864                       dos
Packit Service a2489d
   CP865                       dos
Packit Service a2489d
   CP866                       freebsd netbsd openbsd darwin dos
Packit Service a2489d
   CP869                       dos
Packit Service a2489d
   CP874                       windows dos
Packit Service a2489d
   CP922                       aix
Packit Service a2489d
   CP932                       aix cygwin windows dos
Packit Service a2489d
   CP943                       aix
Packit Service a2489d
   CP949                       osf darwin windows dos
Packit Service a2489d
   CP950                       windows dos
Packit Service a2489d
   CP1046                      aix
Packit Service a2489d
   CP1124                      aix
Packit Service a2489d
   CP1125                      dos
Packit Service a2489d
   CP1129                      aix
Packit Service a2489d
   CP1131                      freebsd darwin
Packit Service a2489d
   CP1250                      windows
Packit Service a2489d
   CP1251                      glibc hpux solaris freebsd netbsd openbsd darwin cygwin windows
Packit Service a2489d
   CP1252                      aix windows
Packit Service a2489d
   CP1253                      windows
Packit Service a2489d
   CP1254                      windows
Packit Service a2489d
   CP1255                      glibc windows
Packit Service a2489d
   CP1256                      windows
Packit Service a2489d
   CP1257                      windows
Packit Service a2489d
   GB2312                  Y   glibc aix hpux irix solaris freebsd netbsd darwin cygwin
Packit Service a2489d
   EUC-JP                  Y   glibc aix hpux irix osf solaris freebsd netbsd darwin cygwin
Packit Service a2489d
   EUC-KR                  Y   glibc aix hpux irix osf solaris freebsd netbsd darwin cygwin
Packit Service a2489d
   EUC-TW                      glibc aix hpux irix osf solaris netbsd
Packit Service a2489d
   BIG5                    Y   glibc aix hpux osf solaris freebsd netbsd darwin cygwin
Packit Service a2489d
   BIG5-HKSCS                  glibc hpux solaris netbsd darwin
Packit Service a2489d
   GBK                         glibc aix osf solaris freebsd darwin cygwin windows dos
Packit Service a2489d
   GB18030                     glibc hpux solaris freebsd netbsd darwin
Packit Service a2489d
   SHIFT_JIS               Y   hpux osf solaris freebsd netbsd darwin
Packit Service a2489d
   JOHAB                       glibc solaris windows
Packit Service a2489d
   TIS-620                     glibc aix hpux osf solaris cygwin
Packit Service a2489d
   VISCII                  Y   glibc
Packit Service a2489d
   TCVN5712-1                  glibc
Packit Service a2489d
   ARMSCII-8                   glibc freebsd netbsd darwin
Packit Service a2489d
   GEORGIAN-PS                 glibc cygwin
Packit Service a2489d
   PT154                       glibc netbsd cygwin
Packit Service a2489d
   HP-ROMAN8                   hpux
Packit Service a2489d
   HP-ARABIC8                  hpux
Packit Service a2489d
   HP-GREEK8                   hpux
Packit Service a2489d
   HP-HEBREW8                  hpux
Packit Service a2489d
   HP-TURKISH8                 hpux
Packit Service a2489d
   HP-KANA8                    hpux
Packit Service a2489d
   DEC-KANJI                   osf
Packit Service a2489d
   DEC-HANYU                   osf
Packit Service a2489d
   UTF-8                   Y   glibc aix hpux osf solaris netbsd darwin cygwin
Packit Service a2489d
Packit Service a2489d
   Note: Names which are not marked as being a MIME name should not be used in
Packit Service a2489d
   Internet protocols for information interchange (mail, news, etc.).
Packit Service a2489d
Packit Service a2489d
   Note: ASCII and ANSI_X3.4-1968 are synonymous canonical names.  Applications
Packit Service a2489d
   must understand both names and treat them as equivalent.
Packit Service a2489d
 */
Packit Service a2489d
Packit Service a2489d
Packit Service a2489d
#ifdef __cplusplus
Packit Service a2489d
}
Packit Service a2489d
#endif
Packit Service a2489d
Packit Service a2489d
Packit Service a2489d
#endif /* _LOCALCHARSET_H */