View Single Post
  #12 (permalink)  
Old 02-26-2007, 05:54 AM
inigoml inigoml is offline
Project Contributor
 
Posts: 110
Default

Quote:
Originally Posted by Klug View Post
Just like this : http://www.mail-archive.com/amavis-u.../msg07759.html ?
Can you try the linked patch ?
Three points!!! ;-)
Problem solved.

----
--- Net/Cmd.pm~ Fri Oct 27 13:08:07 2006
+++ Net/Cmd.pm Thu Feb 8 17:32:52 2007
@@ -22,6 +22,4 @@
}

-my $doUTF8 = eval { require utf8 };
-
$VERSION = "2.27";
@ISA = qw(Exporter);
@@ -395,6 +393,4 @@
my $arr = @_ == 1 && ref($_[0]) ? $_[0] : \@_;
my $line = join("" ,@$arr);
-
- utf8::encode($line) if $doUTF8;

return 0 unless defined(fileno($cmd));
----
Reply With Quote