FelaMiMail - UTF-8/ISO8859-1 codification error in subject field? How to fix?

classic Classic list List threaded Threaded
2 messages Options
Flávio Henrique-2 Flávio Henrique-2
Reply | Threaded
Open this post in threaded view
|

FelaMiMail - UTF-8/ISO8859-1 codification error in subject field? How to fix?

Hi there..

For a long time I'm getting an annoying problem here: some mails comes with
its subject changed.

Note the "UTF-8" and "ISO8859-1" things in the subject line...

When I access the messages through my webmail server, there's no problem.

As I dont understand headers and little about lang codes, someone could tell
me if this is a egw bug or something that I can do here to solve this ?

Thank you.

My enviroment:
Mandriva2006
Php 5.0.4
Apache2
Postgresql 8.0.8

I got subjects like theses:
===========================================================================
Subject 1:
"[Issue 60946] Footnote Text on differen=?UTF-8?B?dCBwYWdlIHRoYW4gaXR"

with header:
Return-Path: <[hidden email]>
Received: from [unix socket] by morondava.hst.terra.com.br (LMTP); Tue, 20
Jun 2006
        09:53:10 -0300 (BRT)
X-Terra-Karma: -2%
X-Terra-Hash: fb76f4bbc56c297a4df133d32271b741
Received-SPF: none (morondava.hst.terra.com.br: 64.125.133.202 is neither
permitted nor
        denied by domain of openoffice.org) client-ip=64.125.133.202;
        envelope-from=[hidden email]; helo=openoffice.org;
Received: from openoffice.org (s002.sfo.collab.net [64.125.133.202])
        by morondava.hst.terra.com.br (Postfix) with SMTP id 36BE232942F9
        for <[hidden email]>; Tue, 20 Jun 2006 09:53:08 -0300 (BRT)
Received: (qmail 21282 invoked by uid 5302); 20 Jun 2006 12:53:06 -0000
Delivered-To: [hidden email]
Received: (qmail 21260 invoked by uid 5000); 20 Jun 2006 12:53:06 -0000
Date: 20 Jun 2006 12:53:06 -0000
Message-ID: <[hidden email]>
Subject:
=?UTF-8?B?W0lzc3VlIDYwOTQ2XSAgRm9vdG5vdGUgVGV4dCBvbiBkaWZmZXJlbg==?=
     =?UTF-8?B?dCBwYWdlIHRoYW4gaXRzIEFuY2hvcg==?=
Reply-to: [hidden email]
From: [hidden email]
To: [hidden email]
Content-Type: text/plain; charset=UTF-8
X-Terra-AV: McAfee VirusScan/4.4.00/4787
MIME-Version: 1.0
===========================================================================

===========================================================================
Subject 2:
" REF: Requisição de linha telefonica=?ISO-8859-15?B?IFtUMjAwNTExMjE"
with header:
Return-Path: <[hidden email]>
Received: from [unix socket] by cagera.terra.com.br (LMTP); Mon, 21 Nov 2005
19:49:11
        -0200 (BRST)
X-Terra-Karma: -2%
X-Terra-Hash: a48f688c4c4ed5bd29f0aaf075af139b
Received-SPF: none (cagera.terra.com.br: 200.203.127.60 is neither permitted
nor denied
     by
        domain of brasiltelecom.com.br) client-ip=200.203.127.60;
        envelope-from=[hidden email];
        helo=poasmtp01.brasiltelecom.com.br;
Received: from poasmtp01.brasiltelecom.com.br
(poasmtp01.brasiltelecom.com.br
        [200.203.127.60])
        by cagera.terra.com.br (Postfix) with ESMTP id C998B7CAFC
        for <[hidden email]>; Mon, 21 Nov 2005 19:49:11 -0200 (BRST)
Received: from brasiltelecom.com.br ([10.167.19.20])          by
        poasmtp01.brasiltelecom.com.br (Lotus Domino Release 6.5.3)          with
        SMTP id 2005112119462466-73005 ;          Mon, 21 Nov 2005 19:46:24 -0200
Date: Mon, 21 Nov 2005 15:28:34 -0200 (BRST)
From: [hidden email]
Subject: =?ISO-8859-15?B?UkVGOiBSZXF1aXNp5+NvIGRlIGxpbmhhIHRlbGVmb25pY2E=?=
     =?ISO-8859-15?B?IFtUMjAwNTExMjEwMVJNUzAxMFozMjY0ODld?=
to: [hidden email]
cc:
X-MIMETrack: Itemize by SMTP Server on poasmtp01/BRT(Release 6.5.3|September
14, 2004) at
        21/11/2005 19:47:56,
        Serialize by Router on poasmtp01/BRT(Release 6.5.3|September 14, 2004) at
        21/11/2005 19:48:38
Message-ID: <[hidden email]>
Content-Type: multipart/mixed;
     boundary=7721943.1132594114234.JavaMail.EX236109.sc-f47-pa512
X-Terra-AV: McAfee VirusScan/4.4.00/4633
MIME-Version: 1.0

--
Flávio Henrique




_______________________________________________
eGroupWare-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/egroupware-users
Cirion75 Cirion75
Reply | Threaded
Open this post in threaded view
|

Re: FelaMiMail - UTF-8/ISO8859-1 codification error in subject field? How to fix?

Did you ever find out what the deal is with mixed encodings in Felamimail is?

All subjects are encoded in ISO-8859-1 while the GUI and translation files are encoded in UTF-8. Is it possible to change all subjects to UTF-8?

Here is a sample on what I mean:


As you can see the GUI is correctly shown in UTF-8, but the subject lines are not.

Here is the same sample afte changing encoding manually in firefox to ISO8859-1:


As you can see the GUI is now not correct, but the subject lines are fine....