Perl warnings are generated when logging utf8 characters using Log4Perl.
Added support for utf8 would be very useful:
-bash-3.00$ diff -ru Log-Dispatch-2.17_org Log-Dispatch-2.17
diff -ru Log-Dispatch-2.17_org/lib/Log/Dispatch/File.pm
Log-Dispatch-2.17/lib/Log/Dispatch/File.pm
--- Log-Dispatch-2.17_org/lib/Log/Dispatch/File.pm 2007-03-31
08:44:40.000000000 -0700
+++ Log-Dispatch-2.17/lib/Log/Dispatch/File.pm 2007-04-02
14:09:36.000000000
-0700
@@ -98,6 +98,14 @@
$self->{chmodded} = 1;
}
+ if (defined $self->{binmode}) {
+ binmode $self->{fh}, $self->{binmode};
+ }
+
+ if (defined $self->{utf8}) {
+ binmode $self->{fh}, ":utf8";
+ }
+
$self->{fh} = $fh;
}