From c0a0accfc3f5a93bf8844b5e0fa17766eceddf31 Mon Sep 17 00:00:00 2001 From: Suresh Chandrasekharan Date: Tue, 29 Jul 2003 13:52:43 +0000 Subject: Fix for #46168 'some additional locale aliases required for chinese 2003-07-11 Suresh Chandrasekharan * camel-iconv.c: Fix for #46168 'some additional locale aliases required for chinese support'. 2003-07-25 Jeffrey Stedfast * 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 --- camel/camel-iconv.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'camel/camel-iconv.c') 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" }, -- cgit v1.2.3