aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-charset-map.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-04-11 23:45:35 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-04-11 23:45:35 +0800
commit1a0534367e544cc35e3c171fbddc552bb2945a9c (patch)
treef1bbf5e2bea5fadfc9561942b0f00aee3bd3e8b8 /camel/camel-charset-map.h
parent1ca457947eac5004f6af55d0d9a45cdc17790207 (diff)
downloadgsoc2013-evolution-1a0534367e544cc35e3c171fbddc552bb2945a9c.tar
gsoc2013-evolution-1a0534367e544cc35e3c171fbddc552bb2945a9c.tar.gz
gsoc2013-evolution-1a0534367e544cc35e3c171fbddc552bb2945a9c.tar.bz2
gsoc2013-evolution-1a0534367e544cc35e3c171fbddc552bb2945a9c.tar.lz
gsoc2013-evolution-1a0534367e544cc35e3c171fbddc552bb2945a9c.tar.xz
gsoc2013-evolution-1a0534367e544cc35e3c171fbddc552bb2945a9c.tar.zst
gsoc2013-evolution-1a0534367e544cc35e3c171fbddc552bb2945a9c.zip
Use camel_charset_locale_name() to get the locale charset rather than
2001-04-11 Jeffrey Stedfast <fejj@ximian.com> * camel-sasl-digest-md5.c (digest_response): Use camel_charset_locale_name() to get the locale charset rather than checking the CHARSET environment variable. This is a much less ugly hack. Also: If we fail to be able to convert to UTF8, then disavow all knowledge of the charset parameter. * camel-charset-map.c (camel_charset_locale_name): New function to return the locale charset (or NULL if US-ASCII). svn path=/trunk/; revision=9237
Diffstat (limited to 'camel/camel-charset-map.h')
-rw-r--r--camel/camel-charset-map.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/camel/camel-charset-map.h b/camel/camel-charset-map.h
index 53ba4af9d9..db76281c6f 100644
--- a/camel/camel-charset-map.h
+++ b/camel/camel-charset-map.h
@@ -35,4 +35,6 @@ const char *camel_charset_best_name(CamelCharset *);
/* helper function */
const char *camel_charset_best(const char *in, int len);
+char *camel_charset_locale_name (void);
+
#endif /* ! _CAMEL_CHARSET_MAP_H */