evolution-data-server r8316 - trunk/camel
- From: fejj svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-data-server r8316 - trunk/camel
- Date: Wed, 26 Dec 2007 00:34:41 +0000 (GMT)
Author: fejj
Date: 2007-12-26 00:34:41 +0000 (Wed, 26 Dec 2007)
New Revision: 8316
ViewCVS link: http://svn.gnome.org/viewcvs/evolution-data-server?rev=8316&view=rev
Modified:
trunk/camel/ChangeLog
trunk/camel/camel-mime-utils.c
Log:
2007-12-25 Jeffrey Stedfast <fejj novell com>
Fixes the remainder of the "evolution won't decode
this/that/whatever brokenly rfc2047 encoded header" bugs.
* camel-mime-utils.c (camel_iconv_strndup): New (internal, tho
could maybe be made public eventually) function to convert a
string from one charset into another which returns NULL on
failure.
(decode_8bit): New function to try to find the best charset to
convert raw 8bit/multibyte strings into UTF-8 by any means
necessary.
(rfc2047_decode_word): Rewritten. Now also takes a default_charset
argument to aid in charset conversion.
(header_decode_text): Rewritten to handle a wider variety of
utterly broken encodings from crap mailers. No longer takes an
inlen argument because it wasn't necessary.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]