aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-iconv.c
diff options
context:
space:
mode:
authorSuresh Chandrasekharan <suresh.chandrasekharan@sun.com>2003-07-29 21:52:43 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-07-29 21:52:43 +0800
commitc0a0accfc3f5a93bf8844b5e0fa17766eceddf31 (patch)
tree4d9f170eafbdc27389f25c4cc0c2e028f360fe40 /camel/camel-iconv.c
parent5503603cce105a6c0f2b9992b63d58ec8c311c6a (diff)
downloadgsoc2013-evolution-c0a0accfc3f5a93bf8844b5e0fa17766eceddf31.tar
gsoc2013-evolution-c0a0accfc3f5a93bf8844b5e0fa17766eceddf31.tar.gz
gsoc2013-evolution-c0a0accfc3f5a93bf8844b5e0fa17766eceddf31.tar.bz2
gsoc2013-evolution-c0a0accfc3f5a93bf8844b5e0fa17766eceddf31.tar.lz
gsoc2013-evolution-c0a0accfc3f5a93bf8844b5e0fa17766eceddf31.tar.xz
gsoc2013-evolution-c0a0accfc3f5a93bf8844b5e0fa17766eceddf31.tar.zst
gsoc2013-evolution-c0a0accfc3f5a93bf8844b5e0fa17766eceddf31.zip
Fix for #46168 'some additional locale aliases required for chinese
2003-07-11 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com> * camel-iconv.c: Fix for #46168 'some additional locale aliases required for chinese support'. 2003-07-25 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-utils.c (header_decode_word): Revert NotZed's fix for bug #42170 - this causes even more problems than it solves. See bug #46331 for info. Basically, each address header would be converted to UTF-8 twice which means no raw 8bit address header would render correctly. (header_decode_mailbox): Perform a sanity check on the resultant addr->str to make sure that it is valid UTF-8, if not convert it to UTF-8. Fixes bug #42170. svn path=/trunk/; revision=22013
Diffstat (limited to 'camel/camel-iconv.c')
-rw-r--r--camel/camel-iconv.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/camel/camel-iconv.c b/camel/camel-iconv.c
index fee061a2b9..690ec520ad 100644
--- a/camel/camel-iconv.c
+++ b/camel/camel-iconv.c
@@ -136,6 +136,9 @@ struct {
/* FIXME: Japanese/Korean/Chinese stuff needs checking */
{ "euckr-0", "EUC-KR" },
{ "5601", "EUC-KR" },
+ { "zh_TW-euc", "EUC-TW" },
+ { "zh_CN.euc", "gb2312" },
+ { "zh_TW-big5", "BIG5" },
{ "big5-0", "BIG5" },
{ "big5.eten-0", "BIG5" },
{ "big5hkscs-0", "BIG5HKSCS" },