Re: [Evolution] HTML attachment encoding problem



please submit this as a bug in evolution/mail on bugzilla.ximian.com.

The charset detection code isn't working right (i think), although it
should detect this case ok.  It may also be a local configuration
problem with iconv not working right.

I'm not sure what you mean by the last bit, are you saying the
characters remain in quoted printable when the attachment is saved, or
that the characters come out as _'s etc.

On Tue, 2002-04-02 at 20:12, Bartłomiej Klinger wrote:
Hi,
I'm trying to get mail from my POP3 server with HTML attachment. This
attachment is ISO-8859-2 encoded with all polish letters. On the server
I have:


 .
TOP 3 100
+OK
Return-Path: <Grzegorz Misztalewski pentacomp com pl>
Delivered-To: bak pentacomp com pl
Received: (qmail 22476 invoked by alias); 2 Apr 2002 09:50:35 -0000
Delivered-To: Bartlomiej Klinger pentacomp com pl
Received: (qmail 22471 invoked from network); 2 Apr 2002 09:50:35 -0000
Received: from unknown (HELO JERRY) (192.168.1.11)
  by 0 with SMTP; 2 Apr 2002 09:50:34 -0000
From: "Grzegorz Misztalewski" <Grzegorz Misztalewski pentacomp com pl>
To: =?iso-8859-2?Q?Bart=B3omiej_Klinger?=
<Bartlomiej Klinger pentacomp com pl> Subject: Attachment test
Date: Tue, 2 Apr 2002 11:57:22 +0200
Message-ID:
<OKECJFNEBMGLKJDKEGJLMEMACBAA Grzegorz Misztalewski pentacomp com pl>
MIME-Version: 1.0
Content-Type: multipart/mixed;
        boundary="----=_NextPart_000_0024_01C1DA3D.8C104020"
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Importance: Normal

This is a multi-part message in MIME format.

------=_NextPart_000_0024_01C1DA3D.8C104020
Content-Type: text/plain;
        charset="iso-8859-2"
Content-Transfer-Encoding: 8bit

Polish letters:
e=ę o=ó a=ą s=ś l=ł z=ż x=ź c=ć n=ń E=Ę O=Ó A=Ą S=Ś L=Ł Z=Ż X=Ź C=Ć N=Ń

------=_NextPart_000_0024_01C1DA3D.8C104020
Content-Type: text/html;
        name="test.html"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
        filename="test.html"

<HTML>
<HEAD>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3DISO-8859-2">
<title>TEST</title>
</HEAD>
<BODY>
        Polish letters:<br>
        e=3D=EA o=3D=F3 a=3D=B9 s=3D=9C l=3D=B3 z=3D=BF x=3D=9F c=3D=E6
n=3D=F1
        E=3D=CA O=3D=D3 A=3D=A5 S=3D=8C L=3D=A3 Z=3D=AF X=3D=8F C=3D=C6
N=3D=D1
</BODY>
</HTML>

------=_NextPart_000_0024_01C1DA3D.8C104020--



I get this email with Evolution and (in evolution mbox file) I have:



From Grzegorz Misztalewski pentacomp com pl Tue Apr  2 09:50:35 2002
Return-Path: <Grzegorz Misztalewski pentacomp com pl>
Delivered-To: bak pentacomp com pl
Received: (qmail 22476 invoked by alias); 2 Apr 2002 09:50:35 -0000
Delivered-To: Bartlomiej Klinger pentacomp com pl
Received: (qmail 22471 invoked from network); 2 Apr 2002 09:50:35 -0000
Received: from unknown (HELO JERRY) (192.168.1.11) by 0 with SMTP; 2 Apr
        2002 09:50:34 -0000
From: "Grzegorz Misztalewski" <Grzegorz Misztalewski pentacomp com pl>
To: =?iso-8859-2?Q?Bart=B3omiej_Klinger?=
<Bartlomiej Klinger pentacomp com pl> Subject: Attachment test
Date: Tue, 2 Apr 2002 11:57:22 +0200
Message-ID:
<OKECJFNEBMGLKJDKEGJLMEMACBAA Grzegorz Misztalewski pentacomp com pl>
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_NextPart_000_0024_01C1DA3D.8C104020"
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Importance: Normal
X-Evolution-Source: pop://bak 192 168 3 2/
X-Evolution: 00000002-0030

This is a multi-part message in MIME format.

------=_NextPart_000_0024_01C1DA3D.8C104020
Content-Type: text/plain; charset="iso-8859-2"
Content-Transfer-Encoding: 8bit

Polish letters:
e=ę o=ó a=ą s=ś l=ł z=ż x=ź c=ć n=ń E=Ę O=Ó A=Ą S=Ś L=Ł Z=Ż X=Ź C=Ć N=Ń

------=_NextPart_000_0024_01C1DA3D.8C104020
Content-Type: text/html; name="test.html"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename="test.html"

<HTML>
<HEAD>
<meta http-equiv=3DContent-Type content=3D"text/html;
charset=3DISO-8859-2"=

<title>TEST</title>
</HEAD>
<BODY>
        Polish letters:<br>
        e=3D=C3=84=C2=99 o=3D=C4=82=C5=82 a=3D=C4=B9=C4=84
s=3D=C3=82=C2=9C l=3D=
=C4=B9=C2=82 z=3D=C4=B9=C5=BA x=3D=C3=82=C2=9F c=3D=C3=84=C2=87
n=3D=C4=B9=
=C2=84
        E=3D=C3=84=C2=98 O=3D=C4=82=C2=93 A=3D=C3=84=CB=9D
S=3D=C3=82=C2=8C L=3D=
=C4=B9=C2=81 Z=3D=C4=B9=C5=A5 X=3D=C3=82=C2=8F C=3D=C3=84=C2=86
N=3D=C4=B9=
=C2=83
</BODY>
</HTML>

------=_NextPart_000_0024_01C1DA3D.8C104020--



inside HTML attachment polish characters are unreadable in evolution
window (when I save attachment to file too).
i.e.: ę= 'EA' (ISO-8859-2) = 'C3=84=C2=99' (????)
Could somebody help me? 






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]