Broken UTF8 putting down Quoted.pm when displaying a ticket?

Hi!

I’m getting a similar error as in
URL:http://lists.fsck.com/pipermail/rt-users/2003-October/017188.html:
Quoted.pm killing itself because of invalid UTF8. Google didn’t find any
replies, so I’m asking here myself.

I upgraded from RT 3.0.2 to 3.0.6 a few days ago and the problematic
ticket is a one created before the update. My configuration is:

RT: 3.0.6
Apache: 1.3.28
Modperl: 1.28
Perl: 5.8.1
Text::Quoted: 1.2

The ticket worked in 3.0.4. Here’s the top of the trace:
(An “ä” is shown up as “M-d”)

Trace begun at /usr/share/perl5/HTML/Mason/Exceptions.pm line 123

HTML::Mason::Exceptions::rethrow_exception(‘Internal Error () on
'MitM-dhM-dn asile voisi tehdM-C’ at /usr/share/perl5/Text/Quoted.pm
line 187.^J’) called at /usr/share/perl5/HTML/Mason/Request.pm line 281

HTML::Mason::Request::ANON(‘Internal Error () on 'MitM-dhM-dn asile
voisi tehdM-C’ at /usr/share/perl5/Text/Quoted.pm line 187.^J’) called
at /usr/share/perl5/Text/Quoted.pm line 187

Text::Quoted::classify(‘Huomenta,^J^JVoisitko lM-dhettM-dM-d…’)
called at /usr/share/perl5/Text/Quoted.pm line 63

Text::Quoted::extract(‘Huomenta,^J^JVoisitko lM-dhettM-dM-d…’) called
at /opt/RequestTracker3/share/html/Ticket/Elements/ShowTransaction line 62

HTML::Mason::Commands::ANON(‘Ticket’, ‘RT::Ticket=HASH(0x9a8c8b4)’,
‘Transaction’, ‘RT::Transaction=HASH(0x9a909dc)’, ‘ShowHeaders’, undef,
‘Collapsed’, undef, ‘RowNum’, 2, ‘ShowTitleBarCommands’, 1) called at
/usr/share/perl5/HTML/Mason/Component.pm line 133

simo.melenius@citec.fi System Designer / Unix Applications
Tel: +358 50 347 8373 CiTEC Information Solutions

At Mon, 03 Nov 2003 10:36:22 +0200,
Simo Melenius wrote:

I’m getting a similar error as in
URL:http://lists.fsck.com/pipermail/rt-users/2003-October/017188.html:
Quoted.pm killing itself because of invalid UTF8. Google didn’t find any
replies, so I’m asking here myself.

Text::Quoted: 1.2

Please try Text::Quoted 1.3

-R

A week ago, I, Simo Melenius wrote:

I’m getting a similar error as in
URL:http://lists.fsck.com/pipermail/rt-users/2003-October/017188.html:
Quoted.pm killing itself because of invalid UTF8. Google didn’t find any
Text::Quoted: 1.2

I found the answer myself, thanks to him who also hinted towards
Text::Quoted 1.3 anyway. Here’s another question:

Now that I’ve been playing with RT3.0.6 for about a week, I’ve noticed a
lot of problems with corrupt attachments. Tuning the preferred character
sets for Encode::Guess (EmailInputEncodings and EmailOutputEncoding) to
not include utf-8 helps a bit, but there still seems to be occasional
problems with mistaken UTF8 and 1:1-octet-based character sets (like
latin1).

The text parts of the messages show up OK, but attachment data sometimes
seems to get high-characters converted to UTF8, eventhough the binary
attachment is base64-encoded in the mime message. This is for incoming
email messages; also, uploading files from RT using the webform
sometimes corrupts the binary attachment, but of course, not always. I
even rudely set Encode::Guess::NoUTFAutoGuess to 1 but it hasn’t helped.
For example, I tested uploading a file with Mozilla and it went there
OK, but a colleague tried with IE5.5 and it got utf-8ized.

Is there a known problem regarding this? If not, I can provide more
information on this.

br:s

simo.melenius@citec.fi System Designer / Unix Applications
Tel: +358 50 347 8373 CiTEC Information Solutions