AnyEvent::Log UTF8 strings to terminal?
Mark Lawrence
mark at rekudos.net
Mon May 5 11:14:14 CEST 2025
This is sort of what I am trying to do:
use strict;
use warnings;
use utf8;
use AE;
BEGIN {
$ENV{PERL_ANYEVENT_LOG} = 'filter=trace:log=file=/dev/pts/5';
}
AE::log error => '⣿';
And this is the error I'm getting:
2025-05-05 11:10:54.000000 +0200 info AnyEvent::IO: Autoloaded IO model 'Perl', using it.
Wide character in syswrite at /usr/lib/x86_64-linux-gnu/perl5/5.36/AnyEvent/IO/Perl.pm line 62.
Is there a) a better way to send log output to a terminal and/or b)
some way to binmode the aio filehandle?
--
Mark Lawrence
More information about the anyevent
mailing list