[rt-users] Re: Solution to corrupt attachments problem with

Jim Ficarra jficarra at crosscurrent.com
Wed Jan 7 14:53:35 EST 2004


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

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:

****************************************************************************
********
From:
@EmailInputEncodings = qw(utf-8 iso-8859-1  us-ascii); 
Set($EmailOutputEncoding , 'utf-8'); 

To:
@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 <jesse at bestpractical.com>
>Subject: [rt-users] Re: Solution to corrupt attachments problem with
>	RT3 and	perl
>To: rt-devel at lists.bestpractical.com,	rt-users at lists.bestpractical.com
>Message-ID: <20040107181800.GG11393 at fsck.com>
>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
> something sensible.
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 2436 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20040107/281855a2/attachment.bin>


More information about the rt-users mailing list