|
version 1.1, 2012/02/21 22:57:48
|
version 1.1.1.3, 2021/03/17 13:38:46
|
|
Line 11 encodings and locales than the currently selected one.
|
Line 11 encodings and locales than the currently selected one.
|
| any other given encoding). |
any other given encoding). |
| * Mail agents. |
* Mail agents. |
| |
|
| In theory, this would be very simple: The Single Unix Specification (SUSV2) | In theory, this would be very simple: POSIX provides the nl_langinfo function, |
| provides the nl_langinfo function, in such a way that | in such a way that |
| |
|
| nl_langinfo (CODESET) |
nl_langinfo (CODESET) |
| |
|
|
Line 25 This library fixes these flaws and provides a function
|
Line 25 This library fixes these flaws and provides a function
|
| const char * locale_charset (void); |
const char * locale_charset (void); |
| |
|
| It determines the current locale's character encoding, and canonicalizes it |
It determines the current locale's character encoding, and canonicalizes it |
| into one of the canonical names listed in config.charset. The result must | into one of the canonical names listed in localcharset.h. The result must |
| not be freed; it is statically allocated. If the canonical name cannot be |
not be freed; it is statically allocated. If the canonical name cannot be |
| determined, the result is a non-canonical name. |
determined, the result is a non-canonical name. |
| |
|
|
Line 40 As usual for GNU packages:
|
Line 40 As usual for GNU packages:
|
| |
|
| |
|
| This library is used in |
This library is used in |
| GNU sh-utils, fileutils, textutils | GNU coreutils |
| GNU gettext |
GNU gettext |
| GNU clisp |
GNU clisp |
| |
|
| |
|
| To integrate this library into your package: |
To integrate this library into your package: |
| See file INTEGRATE. | - Either from this package. See file INTEGRATE. |
| | - Or from gnulib. See |
| | <https://www.gnu.org/software/gnulib/MODULES.html#module=localcharset> |
| |
|
| |
|
| Distribution: |
Distribution: |
| The libcharset directory of |
The libcharset directory of |
| ftp://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.8.tar.gz | ftp://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gz |
| |
|
| Homepage: |
Homepage: |
| http://www.haible.de/bruno/packages-libcharset.html | https://haible.de/bruno/packages-libcharset.html |
| |
|
| |
|
| Bruno Haible <bruno@clisp.org> |
Bruno Haible <bruno@clisp.org> |