[rt-users] Re: Email encoding

AJ rt at musefoundry.com
Wed Jan 14 12:39:32 EST 2004


I actually do not think that is RT's fault however.  Have you tried
attaching the attachment via the gui and then sending it back? That seemed
to work but sending it via email messed up the content type.

I noticed that if you attach via the gui, the headers go in correctly into
the headers and content-type field in the attachments table.  However, if
you email it, the attachment goes in as multipart/mixed.  I think this is
the behavior of the MTA because it looks like the mailgate just grabs what
it is given. I thought it might be an Exchange thing...



-----Original Message-----
From: rt-users-bounces at lists.bestpractical.com
[mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Paulo Matos
Sent: Wednesday, January 14, 2004 12:25 PM
To: Jesse Vincent
Cc: rt-users at lists.fsck.com; Samuel Tardieu
Subject: Re: [rt-users] Re: Email encoding

	Hi!

	I've detected some misbehaviour with mail encoding. 
	These are the scenarios: 

1. Requestor sends simple email (iso-8859-1) -> everything is ok.
2. RT answers with a simple email -> everything is ok.
3. Requestor sends email with attach (multipart) -> everything is ok

4. RT answers with attach and the conversion isn't done... see bellow:
--- cut here ---
...
X-RT-Original-Encoding: utf-8
Content-type: multipart/mixed; boundary="----------=_1074099935-880-3"
Status: RO
X-Status: 
X-Keywords:                 
X-UID: 46737

This is a multi-part message in MIME format...

------------=_1074099935-880-3
Content-Type: text/plain; charset="iso-8859-1"

> [pm - Wed Jan 14 17:00:51 2004]:
> 
> 
> Teste com attach e açentos áéióú... não...
> 
...
--- end here ---

	Despite the charset is correct, the mail isn't converted from 
utf-8 to iso-8859-1. It happens alaways on an answer with attach...

	The only message I get is:

RT: Cannot Encode::Guess; fallback to iso-8859-1
(/usr/lib/rt3/RT/I18N.pm:376)

which I find very odd...

	Hope this helps,

	Paulo Matos
 ----------------------------------- ----------------------------------
|Sys & Net Admin                    | Serviço de Informática           |
|Faculdade de Ciências e Tecnologia | Tel: +351-21-2948596             |
|Universidade Nova de Lisboa        | Fax: +351-21-2948548             |
|P-2829-516 Caparica                | e-Mail: pjsm at fct.unl.pt          |
 ----------------------------------- ----------------------------------
_______________________________________________
rt-users mailing list
rt-users at lists.bestpractical.com
http://lists.bestpractical.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm




More information about the rt-users mailing list