Bug 529180 - evolution-mapi has problems encoding mails containing html
Summary: evolution-mapi has problems encoding mails containing html
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: evolution-mapi
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Matthew Barnes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-15 11:27 UTC by Espen Stefansen
Modified: 2009-10-15 14:29 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-10-15 14:29:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 598564 0 None None None Never

Description Espen Stefansen 2009-10-15 11:27:08 UTC
Description of problem:
I use evolution-mapi and i've set default encoding to ISO-8859-1 in evolution. But still all emails with html that contains the norwegian characters æ, ø and å gets garbled. The paragraph that contains these letters, gets changed to '[?]'. The paragraphs that doesn't, is just fine.
But when i change the encoding from default to ISO-8859-1 for that particular email, the email is displayed correctly. 

It seems that evolution-mapi only interprets the mail-encoding, but not the html-encoding. Here's the encoding part from the header:
Content-Transfer-Encoding: 8bit
Content-Type: text/html; charset="CP28591"

<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">

Evolution probably just finds the first encoding and uses that. But when the encoding is changed to iso-8859-1, everything is fine. If i get the same email without the html, øæå is displayed correctly.


Version-Release number of selected component (if applicable):
evolution-2.28.0-2.fc12.i686
evolution-data-server-2.28.0-1.fc12.i686
evolution-mapi-0.28.0-1.fc12.i686


How reproducible:
Every email that contains æ, ø, and å.

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Matthew Barnes 2009-10-15 14:29:27 UTC
Moving this upstream where it can be tracked more easily.
Please see [1] for further updates.

[1] https://bugzilla.gnome.org/show_bug.cgi?id=598564


Note You need to log in before you can comment on or make changes to this bug.