diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-02-26 06:37:11 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-02-26 06:37:11 +0800 |
commit | 9ae85b8c071909a5dceaf50cf14b84916140f7d6 (patch) | |
tree | 546e044c2a609b0a1644a473450e6f292fc78952 /e-util/e-iconv.h | |
parent | ef315a410d161cd6f08c8ade62e5d31880d35b67 (diff) | |
download | gsoc2013-evolution-9ae85b8c071909a5dceaf50cf14b84916140f7d6.tar.gz gsoc2013-evolution-9ae85b8c071909a5dceaf50cf14b84916140f7d6.tar.zst gsoc2013-evolution-9ae85b8c071909a5dceaf50cf14b84916140f7d6.zip |
New internal function to parse the locale language code. (e_iconv_init):
2003-02-25 Jeffrey Stedfast <fejj@ximian.com>
* gal/util/e-iconv.c (locale_parse_lang): New internal function to
parse the locale language code.
(e_iconv_init): Parse and set the locale_lang variable.
(e_iconv_locale_language): Return the locale_lang.
(e_iconv_charset_language): Map some CJKR charsets to a language
code.
svn path=/trunk/; revision=20063
Diffstat (limited to 'e-util/e-iconv.h')
-rw-r--r-- | e-util/e-iconv.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/e-util/e-iconv.h b/e-util/e-iconv.h index daf97a30ab..14b93853d5 100644 --- a/e-util/e-iconv.h +++ b/e-util/e-iconv.h @@ -5,6 +5,7 @@ * * Authors: * Michael Zucchi <notzed@ximian.com> + * Jeffrey Stedfast <fejj@ximian.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -37,6 +38,10 @@ size_t e_iconv(iconv_t cd, const char **inbuf, size_t *inbytesleft, char ** outb void e_iconv_close(iconv_t ip); const char *e_iconv_locale_charset(void); +/* languages */ +const char *e_iconv_locale_language (void); +const char *e_iconv_charset_language (const char *charset); + #ifdef __cplusplus } #endif /* __cplusplus */ |