Solution to corrupt attachments problem with

Forgive my ignorance if this is obvious, but does this apply to the

RT 3.0.07
PERL 5.8.0
Redhat 9
Apache 1.3.29 (compiled)
mod_perl 1.29 (compiled statically into Apache)

I had posted a message about being prompted to convert attachments…they
looked corrupted. I changed:

@EmailInputEncodings = qw(utf-8 iso-8859-1 us-ascii);
Set($EmailOutputEncoding , ‘utf-8’);

@EmailInputEncodings = qw(iso-8859-1 utf-8 us-ascii);
Set($EmailOutputEncoding , ‘iso-8859-1’);

It semed to work, but I imagine because I’m forcing it to use iso-8859-1 for
encoding instead of UTF-8.

Can/should I apply the patch to PERL 5.8.0?

Thanks in advance for your help.

-JIm Ficarra

Date: Wed, 7 Jan 2004 13:18:00 -0500
From: Jesse Vincent
Subject: [rt-users] Re: Solution to corrupt attachments problem with
RT3 and perl
Content-Type: text/plain; charset=us-ascii

Nicholas has tracked the intermittent bug that causes attachment
corruption for some users to a bug in perl’s “join” method. There is a
potential fix that doesn’t involve directly modifying perl’s source code,
vbut we don’t have that available just yet.

  The solution is to apply the following patch to perl (tested with

perl 5.8.2), which sets the UTF8 flag on the returned string to

winmail.dat (2.38 KB)