aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-charset-map.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-10-03 07:32:14 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-10-03 07:32:14 +0800
commitf88a537b586a44540327812e3054fdab32bb03a0 (patch)
tree786998a953d25932f7ee37c25f89515b2d7b44be /camel/camel-charset-map.c
parente1b0851d1aee8feda815510005c4ed9ce88ec5d1 (diff)
downloadgsoc2013-evolution-f88a537b586a44540327812e3054fdab32bb03a0.tar
gsoc2013-evolution-f88a537b586a44540327812e3054fdab32bb03a0.tar.gz
gsoc2013-evolution-f88a537b586a44540327812e3054fdab32bb03a0.tar.bz2
gsoc2013-evolution-f88a537b586a44540327812e3054fdab32bb03a0.tar.lz
gsoc2013-evolution-f88a537b586a44540327812e3054fdab32bb03a0.tar.xz
gsoc2013-evolution-f88a537b586a44540327812e3054fdab32bb03a0.tar.zst
gsoc2013-evolution-f88a537b586a44540327812e3054fdab32bb03a0.zip
Revert my x-unknown special-case hack - this may mask other problems.
2001-10-02 Jeffrey Stedfast <fejj@ximian.com> * camel-charset-map.c (camel_charset_to_iconv): Revert my x-unknown special-case hack - this may mask other problems. * camel-mime-utils.c (rfc2047_decode_word): If the iconv conversion fails, for whatever reason, retry using the user's locale charset. svn path=/trunk/; revision=13359
Diffstat (limited to 'camel/camel-charset-map.c')
-rw-r--r--camel/camel-charset-map.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/camel/camel-charset-map.c b/camel/camel-charset-map.c
index 02ea31a44c..d25cf2cabc 100644
--- a/camel/camel-charset-map.c
+++ b/camel/camel-charset-map.c
@@ -400,10 +400,6 @@ camel_charset_to_iconv (const char *name)
if (name == NULL)
return NULL;
- /* special-case hack... */
- if (!g_strcasecmp (name, "x-unknown"))
- return locale_charset ? locale_charset : "iso-8859-1";
-
ICONV_CHARSETS_LOCK ();
charset = g_hash_table_lookup (iconv_charsets, name);
if (!charset) {