After upgrading perl (5.20 -> 5.24) on my FreeBSD box (11.0-Release-p10) I’ve got a problem with UTF-8 character in the subject
If I create a ticket using a email (everything work throught the webgui) with a UTF-8 characters in the subject the ticket is created correctly but the mail send by RT cut the subject at the first
no-ASCII characters.
With the body of the message the UTF-8 characters are transform to some weird characters. Something goes wrong with any UTF-8 characters…
In fact I was wrong the problem don’t comme from
use MIME::Base64;
$enc_str = decode_base64($enc_str);
the result are correct, it’s RT::Logger who re-encode the message.
So the true is out there, but I didn’t find where, I try to track where the subject is cut, and didn’t find it.
All I can say is the subject are correct inside the mysqld database, but somewhere between the mysql database and the email
the subject is cut. The webgui show the correct subject.
It seem inside the Attachment.pm at the beginning of Create function
# If we possibly can, collapse it to a singlepart
$Attachment->make_singlepart;
my $head = $Attachment->head;
Which version of the DBD::mysql Perl module do you have installed? If you have 4.042 you’ll need to manually downgrade to 4.041 due to changes in how it handles Unicode encoding.
Le 21/06/2017 à 18:30:27+0000, Shawn Moore a écrit
shawn
June 21
Hi,
Which version of the DBD::mysql Perl module do you have installed? If you have
4.042 you’ll need to manually downgrade to 4.041 due to changes in how it
handles Unicode encoding.
You’re absolutly right, by downgrade to 4.041 everything work again.
I spend 3 days to try to find where the problem are, so thanks you a LOT.