diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-02-25 00:09:19 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-02-25 00:09:19 +0800 |
commit | 7588597e8917f7445be635b6fc6a1447879f7455 (patch) | |
tree | 7c6b4f7c938e09855c475b222f8a626c2f309471 /camel/camel-iconv.h | |
parent | cd413978fcc310ca6c721142a2c11a6e4b692b8a (diff) | |
download | gsoc2013-evolution-7588597e8917f7445be635b6fc6a1447879f7455.tar.gz gsoc2013-evolution-7588597e8917f7445be635b6fc6a1447879f7455.tar.zst gsoc2013-evolution-7588597e8917f7445be635b6fc6a1447879f7455.zip |
New function...back from the depths of hell from whence it came
2003-02-21 Jeffrey Stedfast <fejj@ximian.com>
* camel-iconv.c (camel_iconv_charset_name): New function...back
from the depths of hell from whence it came originally. Turns out
that g_iconv_open() is lame and can't handle all the stuff we used
to handle in e_iconv_charset_name().
(camel_iconv_open): Use camel_iconv_charset_name() on the to/from
charsets rather than camel_charset_canonical_name(). Now maybe
g_iconv_open will work for charsets such as "ks_c_5601-1987".
* providers/pop3/camel-pop3-store.c (pop3_connect): Reget the
capabilities after a successful authentication.
* providers/pop3/camel-pop3-engine.c (get_capabilities): If we are
in the TRANSACTION state and CAPA did not list UIDL as a supported
command, try checking for it the hard way.
svn path=/trunk/; revision=20033
Diffstat (limited to 'camel/camel-iconv.h')
-rw-r--r-- | camel/camel-iconv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/camel/camel-iconv.h b/camel/camel-iconv.h index 77052b469b..9fccc55752 100644 --- a/camel/camel-iconv.h +++ b/camel/camel-iconv.h @@ -35,6 +35,8 @@ extern "C" { void camel_iconv_init (void); void camel_iconv_shutdown (void); +const char *camel_iconv_charset_name (const char *charset); + iconv_t camel_iconv_open (const char *to, const char *from); size_t camel_iconv (iconv_t cd, const char **inbuf, size_t *inleft, char **outbuf, size_t *outleft); |