Author Topic: Charset problems if MIME-Version missing in mail header  (Read 4679 times)

Offline Mark

  • Jr. Member
  • **
  • Posts: 10
Charset problems if MIME-Version missing in mail header
« on: October 03, 2009, 07:46:05 AM »
Hi,

when I open e-mails in RC which do not have specified the MIME-Version in the header (even text/plain mails), special characters like "äöüß" are displayed like this: äöüß

When I download these mails with Thunderbird, everything is OK.

My question is: is this a bug in RC or are e-mails with missing "MIME-Version" incorrect?

Mark

EDIT:
RC 0.1: displays it correctly even without "MIME-Version"
« Last Edit: October 03, 2009, 07:57:33 AM by Mark »

Offline arthurfragoso

  • Newbie
  • *
  • Posts: 3
I also noticed it
« Reply #1 on: August 05, 2010, 11:14:40 PM »
I noticed that if there is no MIME-Version, it can't run the HTML, even if it is set: Content-type: text/html;

and if there is any chinese or korean words, it shows strange symbols like: 그는 ì¼ ë

maybe it also cant read the encoding, (charset=UTF-8 ) I don't know

I receive a daily email from a service, and it comes with this problem, but in older versions of roundcube it can run the html fine.

it would be nice if the html would run even without the MIME-Version.

I'm trying in version 0.3.1

an example:

Code: [Select]
Return-Path: <returns@*example.com>
X-Original-To: [email]arthur@***.com[/email]
Delivered-To: [email]arthur@***.com[/email]
Received: from localhost (localhost [127.0.0.1])
by mx.***.com (Postfix) with ESMTP id 85B17828
for <arthur@***.com>; Thu,  5 Aug 2010 03:19:29 -0300 (BRT)
X-Virus-Scanned: by amavisd-new at ***.com
Received: from mx.***.com ([127.0.0.1])
by localhost (mx.***.com [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id fjpLEn0Cw-XZ for <arthur@***.com>;
Thu,  5 Aug 2010 03:19:28 -0300 (BRT)
Received: from vps.*.net (unknown [64.131.75.78])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(No client certificate requested)
by mx.***.com (Postfix) with ESMTPS id CF74F79D
for <arthur@***.com>; Thu,  5 Aug 2010 03:19:26 -0300 (BRT)
Received: (qmail 10083 invoked by uid 10016); 5 Aug 2010 07:20:05 +0100
Date: 5 Aug 2010 07:20:05 +0100
Message-ID: <20100805062005.10060.qmail@*.net>
To: [email]arthur@***.com[/email]
Subject: Exemple
From: example.com <antosch@*example.com>
Reply-To: [email]antosch@*example.com[/email]
Content-Type: text/html; charset=UTF-8


Hello ..!<br /><br />

<img src=&quot;http://.....&quot; width=&quot;15&quot; height=&quot;15&quot; alt=&quot;&quot;>
« Last Edit: August 05, 2010, 11:18:46 PM by arthurfragoso »

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Charset problems if MIME-Version missing in mail header
« Reply #2 on: August 06, 2010, 12:14:35 AM »
Try using the SVN.

Offline arthurfragoso

  • Newbie
  • *
  • Posts: 3
Charset problems if MIME-Version missing in mail header
« Reply #3 on: August 06, 2010, 02:11:35 PM »
I tried to use the svn and the result was:

trunk/ - doesn't work
branches/devel-threads/ - doesn't work
branches/release-0.3/ - WORKS
branches/release-0.3.1/ - doesn't work
branches/release-0.4-beta/ - doesn't work


only the 0.3 works, but would be nice if the other versions could do that too.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Charset problems if MIME-Version missing in mail header
« Reply #4 on: August 06, 2010, 04:26:37 PM »
Try submitting a ticket on the trac, make sure to include a sample message source.

Offline arthurfragoso

  • Newbie
  • *
  • Posts: 3
Charset problems if MIME-Version missing in mail header
« Reply #5 on: August 09, 2010, 09:46:30 AM »
Just for the record, I submitted a ticket and it was fixed:
#1486898 (HTML and charset problem if MIME-Version missing in mail header) ? Roundcube Webmail

Thanks for all
« Last Edit: August 09, 2010, 09:49:02 AM by arthurfragoso »