diff options
author | Jeffrey Stedfast <fejj@helixcode.com> | 2000-09-29 07:57:54 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-09-29 07:57:54 +0800 |
commit | 7ba4d2bed216c730dc68891d09c6523b0adf84da (patch) | |
tree | 9abc67106c1a67889dedef411d83d5da50c64475 /camel/camel-mime-utils.c | |
parent | ed988c5b23234d1f85a4a6c0a50d06bfed31020d (diff) | |
download | gsoc2013-evolution-7ba4d2bed216c730dc68891d09c6523b0adf84da.tar gsoc2013-evolution-7ba4d2bed216c730dc68891d09c6523b0adf84da.tar.gz gsoc2013-evolution-7ba4d2bed216c730dc68891d09c6523b0adf84da.tar.bz2 gsoc2013-evolution-7ba4d2bed216c730dc68891d09c6523b0adf84da.tar.lz gsoc2013-evolution-7ba4d2bed216c730dc68891d09c6523b0adf84da.tar.xz gsoc2013-evolution-7ba4d2bed216c730dc68891d09c6523b0adf84da.tar.zst gsoc2013-evolution-7ba4d2bed216c730dc68891d09c6523b0adf84da.zip |
Make sure to add the space char after an encoded word when the encoding is
2000-09-28 Jeffrey Stedfast <fejj@helixcode.com>
* camel-mime-utils.c (header_encode_string): Make sure to add the
space char after an encoded word when the encoding is iso-8859-1.
svn path=/trunk/; revision=5626
Diffstat (limited to 'camel/camel-mime-utils.c')
-rw-r--r-- | camel/camel-mime-utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c index a949056a68..907fc7e4fb 100644 --- a/camel/camel-mime-utils.c +++ b/camel/camel-mime-utils.c @@ -1093,12 +1093,14 @@ header_encode_string(const unsigned char *in) } inptr = newinptr; if (unicode_isspace(c)) { + /* we've reached the end of a 'word' */ switch (encoding) { case 0: out = g_string_append_len(out, start, inptr-start); break; case 1: rfc2047_encode_word(out, start, inptr-start-1, "ISO-8859-1", IS_ESAFE); + out = g_string_append_c (out, c); break; case 2: rfc2047_encode_word(out, start, inptr-start-1, |