I think I found the critical point. The problem is in the method RT::Record::_EncodeLOB(). I run a little script feeding message into the RT under debugger: last actions was to setup breakpoint on b RT::Record::_EncodeLOB and there is several steps:
DB<45> v 788: } elsif ( !$RT::Handle->BinarySafeBLOBs 789 && $Body =~ /\P{ASCII}/ 790 && !Encode::is_utf8( $Body, 1 ) ) { 791==> $ContentEncoding = 'quoted-printable'; 792 } 793 794 #if the attachment is larger than the maximum size 795: if ( ($MaxSize) and ( $MaxSize < length($Body) ) ) { 796 797 # if we're supposed to truncate large attachments DB<45> x $Body 0 'Пример текста содержащего кирилицу и латиницу. This is example of cyrillic and latin text in th body. Encode as quoted-printable. -- Arkady Glazov ' DB<46> p Encode::is_utf8( $Body, 1 ) ? "true" : "false" false For some reason Encode::is_utf8(...) returns false :(. Maybe the problem is with the libmime-tools-perl (I'm running on the Debian), I have version 5.503-1. -- Zito -- RT Training - Dallas May 20-21 http://bestpractical.com/training