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-mime-filter-tohtml.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'camel/camel-mime-filter-tohtml.c') diff --git a/camel/camel-mime-filter-tohtml.c b/camel/camel-mime-filter-tohtml.c index 0ffd1ed26b..45112731a0 100644 --- a/camel/camel-mime-filter-tohtml.c +++ b/camel/camel-mime-filter-tohtml.c @@ -32,6 +32,14 @@ #include "camel-mime-filter-tohtml.h" #include "camel-utf8.h" +/** + * TODO: convert common text/plain 'markup' to html. eg.: + * + * _word_ -> _word_ + * *word* -> *word* + * /word/ -> /word/ + **/ + #define d(x) #define CONVERT_WEB_URLS CAMEL_MIME_FILTER_TOHTML_CONVERT_URLS -- cgit v1.2.3