On Tue, 14 Mar 2006 17:01:51 +0100, Thomas Bruederli <[EMAIL PROTECTED]> wrote:
> 
> After a short test, I have to correct myself: FF and IE display all html
> entities correctly (even the single-byte chars). In that case it's not
> necessary to write a function that will convert those.
> 
> But I have no idea why the characters in Martin's mails are not
> displayed correctly. The only reason I can imagine is that there's no
> charset specified in the mail/part headers. Could you check that Martin?

The mail is from a very important news paper, which sends me a daily digital 
version. I don't have a mail from them right now (I should be recieving one at 
any moment), but here is another mail with a similar problem. Here's the 
relevant headers:

Mime-Version: 1.0
Content-Type: multipart/mixed;
        boundary="=====================_30415078==_"
X-Virus-Scanned: amavisd-new at math.unl.edu.ar
Status: RO
X-UID: 4910
Content-Length: 31057
X-Keywords:                                                                     
                              

--=====================_30415078==_
Content-Type: text/plain; charset="us-ascii"; format=flowed


--=====================_30415078==_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


Here starts the HTML body. And below is a small fragment which give stange 
caracters (right were the =96 caracters are).


Rara vez =96y no es asunto de =E9poca o idiosincracias=
 nacionales=96 los asuntos

-- 
---------------------------------------------------------
Lic. Martín Marqués         |   SELECT 'mmarques' || 
Centro de Telemática        |       '@' || 'unl.edu.ar';
Universidad Nacional        |   DBA, Programador, 
    del Litoral             |   Administrador
---------------------------------------------------------




Reply via email to