Bill Moseley got "Wide character in" errors.

I encountered this a few days ago.  I've found it hard to reproduce.
It seems perl has a "Don't ask, don't tell" attitude, but once you've
got the utf8 bit set on some data then it worries about it thereafter.

The ".utf8 = 1" directive only works for the File appender.  See
perldoc Log::Log4perl::FAQ.

Using

    binmode STDERR, ":utf8";

avoids the wide character errors for the screen appender.  You could try

    binmode SYSLOG, ":utf8";

as the only calls to syswrite in Sys/Syslog.pm are to SYSLOG.

Regards, John

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
log4perl-devel mailing list
log4perl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/log4perl-devel

Reply via email to