[rt-users] Re: [rt-devel] Patch for RT 3.0.3 attachment conversion problem

Remy Chibois rchibois at free.fr
Thu Jun 26 03:27:29 EDT 2003


Quoting Autrijus Tang <autrijus at autrijus.org>:

[...]
> Anyway, I'd like you (and others who notice this problem) to
> try I18N.diff and see what it comes out, so we can determine
> whether it's db-specific, mta-specific, or what.

Here is what I get (debug log first then the message):

========== I18N.pm debug ==========
RT: XXX: We are handed a multipart (MIME::Entity=HASH(0x92f1084)), recursing
into it... (/produits/rt-3.0.3-dev/lib/RT/I18N.pm:161)  
RT: XXX: Trying to guess encoding of MIME::Entity=HASH(0x9294758)...
(/produits/rt-3.0.3-dev/lib/RT/I18N.pm:166)  
RT: XXX: MIME::Entity=HASH(0x9294758) is encoded in iso-8859-1. Now set Head to
it... (/produits/rt-3.0.3-dev/lib/RT/I18N.pm:172)  
RT: XXX: So. Let's see if text/plain is the type of MIME::Entity=HASH(0x9294758)
(text/plain). (/produits/rt-3.0.3-dev/lib/RT/I18N.pm:186)  
RT: XXX: It is. Continuing decoding MIME::Entity=HASH(0x9294758)...
(/produits/rt-3.0.3-dev/lib/RT/I18N.pm:188)  
RT: XXX: Trying to guess encoding of MIME::Entity=HASH(0x929a404)...
(/produits/rt-3.0.3-dev/lib/RT/I18N.pm:166)  
RT: XXX: MIME::Entity=HASH(0x929a404) is encoded in UTF-32LE. Now set Head to
it... (/produits/rt-3.0.3-dev/lib/RT/I18N.pm:172)  
RT: XXX: So. Let's see if text/plain is the type of MIME::Entity=HASH(0x929a404)
(text/plain). (/produits/rt-3.0.3-dev/lib/RT/I18N.pm:186)  
RT: XXX: It is. Continuing decoding MIME::Entity=HASH(0x929a404)...
(/produits/rt-3.0.3-dev/lib/RT/I18N.pm:188)  
RT: XXX: ...and we're back from the multipart (MIME::Entity=HASH(0x92f1084))...
(/produits/rt-3.0.3-dev/lib/RT/I18N.pm:163)  
RT: XXX: Trying to guess encoding of MIME::Entity=HASH(0x92f1084)...
(/produits/rt-3.0.3-dev/lib/RT/I18N.pm:166)  
RT: XXX: Trying to guess encoding of MIME::Entity=HASH(0x9588154)...
(/produits/rt-3.0.3-dev/lib/RT/I18N.pm:166)  
RT: XXX: MIME::Entity=HASH(0x9588154) is encoded in utf-8. Now set Head to it...
(/produits/rt-3.0.3-dev/lib/RT/I18N.pm:172)  
RT: XXX: So. Let's see if text/plain is the type of MIME::Entity=HASH(0x9588154)
(text/plain). (/produits/rt-3.0.3-dev/lib/RT/I18N.pm:186)  
RT: XXX: It is. Continuing decoding MIME::Entity=HASH(0x9588154)...
(/produits/rt-3.0.3-dev/lib/RT/I18N.pm:188)  
RT: XXX: Trying to guess encoding of MIME::Entity=HASH(0x958d0e4)...
(/produits/rt-3.0.3-dev/lib/RT/I18N.pm:166)  
RT: XXX: MIME::Entity=HASH(0x958d0e4) is encoded in utf-8. Now set Head to it...
(/produits/rt-3.0.3-dev/lib/RT/I18N.pm:172)  
RT: XXX: So. Let's see if text/plain is the type of MIME::Entity=HASH(0x958d0e4)
(text/plain). (/produits/rt-3.0.3-dev/lib/RT/I18N.pm:186)  
RT: XXX: It is. Continuing decoding MIME::Entity=HASH(0x958d0e4)...
(/produits/rt-3.0.3-dev/lib/RT/I18N.pm:188)
RT: Converting 'utf-8' to 'iso-8859-1'
RT: Malformed UTF-8 character (UTF-16 surrogate 0xdfda) in subroutine entry at
/usr/local/perl/lib/5.8.0/i686-linux-thread-multi/Encode.pm line 186. 
(/produits/rt-3.0.3-dev/lib/RT.pm:235)
RT: Malformed UTF-8 character (UTF-16 surrogate 0xdfa8) in subroutine entry at
/usr/local/perl/lib/5.8.0/i686-linux-thread-multi/Encode.pm line 186. 
(/produits/rt-3.0.3-dev/lib/RT.pm:235)
RT: Malformed UTF-8 character (UTF-16 surrogate 0xdb00) in subroutine entry at
/usr/local/perl/lib/5.8.0/i686-linux-thread-multi/Encode.pm line 186. 
(/produits/rt-3.0.3-dev/lib/RT.pm:235)
RT: Malformed UTF-8 character (character 0xffff) in subroutine entry at
/usr/local/perl/lib/5.8.0/i686-linux-thread-multi/Encode.pm line 186. 
(/produits/rt-3.0.3-dev/lib/RT.pm:235)
RT: <rt-3.0.3-323-2213.16.1574948203848>  No recipients found. Not sending. 
(/produits/rt-3.0.3-dev/lib/RT/Action/SendEmail.pm:251)
RT: Ticket 323 created in queue 'General' by Remy
(/produits/rt-3.0.3-dev/lib/RT/Ticket_Overlay.pm:608)
========== /I18N.pm debug ==========

Now the original message (e-mail adresses changed, attachment truncated)

========== Message ==========
From: =?iso-8859-1?Q?CHIBOIS_R=E9my?= <rchibois at free.fr>
To: 'rt3dev' <rt3dev at phoenix>
Subject: Attachment filename test
Date: Thu, 26 Jun 2003 08:51:23 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: multipart/mixed;
	boundary="----_=_NextPart_000_01C33BAF.5B86EAB0"
Content-Length: 656313
Lines: 8537

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_000_01C33BAF.5B86EAB0
Content-Type: text/plain;
	charset="iso-8859-1"

Attachment filename test


------_=_NextPart_000_01C33BAF.5B86EAB0
Content-Type: application/vnd.ms-powerpoint;
	name="=?iso-8859-1?Q?Pr=E9sentation_Outil_Comm_DSIV_020517=2E?=
	=?iso-8859-1?Q?ppt?="
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="=?iso-8859-1?Q?Pr=E9sentation_Outil_Comm_DSIV_020?=
	=?iso-8859-1?Q?517=2Eppt?="

0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7/CQAGAAAAAAAAAAAAAAAIAAAAoQMAAAAAAAAA
[Content truncated]
AAAAAAAAAAAAAAAAAAAAAAAA////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAA

------_=_NextPart_000_01C33BAF.5B86EAB0--

========== /Message ==========

Hope this will help.

-- 
    Remy Chibois



More information about the rt-users mailing list