aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorRadek Doulik <rodo@src.gnome.org>2002-11-20 02:42:41 +0800
committerRadek Doulik <rodo@src.gnome.org>2002-11-20 02:42:41 +0800
commitccbfa5da0395e08ce672a0546c513cf970c29fb6 (patch)
treedf2ad305f7ef54ecf568468ce754b1ce69f2d5ab /camel
parent3a49f0dd089a4a9fc1dd199a3f1e843e514afb8a (diff)
downloadgsoc2013-evolution-ccbfa5da0395e08ce672a0546c513cf970c29fb6.tar.gz
gsoc2013-evolution-ccbfa5da0395e08ce672a0546c513cf970c29fb6.tar.zst
gsoc2013-evolution-ccbfa5da0395e08ce672a0546c513cf970c29fb6.zip
applied plain_signature_fix.patch
svn path=/trunk/; revision=18841
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/camel-mime-filter-tohtml.c2
-rw-r--r--camel/camel-mime-filter-tohtml.h1
3 files changed, 7 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 8a9a8c9a9c..f219e9da21 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,8 @@
+2002-11-19 Radek Doulik <rodo@ximian.com>
+
+ * camel-mime-filter-tohtml.c (html_convert): added
+ CAMEL_MIME_FILTER_TOHTML_PRESERVE_8BIT flag
+
2002-11-18 Rodney Dawes <dobey@ximian.com>
* tests/*/Makefile.am: Removed $(GNOME_LIBDIR) and $(GNOMEUI_LIBS)
diff --git a/camel/camel-mime-filter-tohtml.c b/camel/camel-mime-filter-tohtml.c
index 0f7fbfebf3..db84b7f9fe 100644
--- a/camel/camel-mime-filter-tohtml.c
+++ b/camel/camel-mime-filter-tohtml.c
@@ -211,7 +211,7 @@ writeln (CamelMimeFilter *filter, const char *in, const char *inend, char *outpt
}
/* otherwise, FALL THROUGH */
default:
- if (!(u >= 0x20 && u < 0x80)) {
+ if (!(u >= 0x20 && u < 0x80) && !(html->flags & CAMEL_MIME_FILTER_TOHTML_PRESERVE_8BIT)) {
if (html->flags & CAMEL_MIME_FILTER_TOHTML_ESCAPE_8BIT)
*outptr++ = '?';
else
diff --git a/camel/camel-mime-filter-tohtml.h b/camel/camel-mime-filter-tohtml.h
index d8c6e47f41..0dff90d651 100644
--- a/camel/camel-mime-filter-tohtml.h
+++ b/camel/camel-mime-filter-tohtml.h
@@ -43,6 +43,7 @@ extern "C" {
#define CAMEL_MIME_FILTER_TOHTML_CONVERT_ADDRESSES (1 << 5)
#define CAMEL_MIME_FILTER_TOHTML_ESCAPE_8BIT (1 << 6)
#define CAMEL_MIME_FILTER_TOHTML_CITE (1 << 7)
+#define CAMEL_MIME_FILTER_TOHTML_PRESERVE_8BIT (1 << 8)
typedef struct _CamelMimeFilterToHTMLClass CamelMimeFilterToHTMLClass;
typedef struct _CamelMimeFilterToHTML CamelMimeFilterToHTML;