From: John L. <joh...@gm...> - 2008-11-06 04:38:38
|
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 |