undefined

2014-09-23 Thread Bill Moseley
I'm printing like this: my $octets = 'Быстрая коричневая лиса चाँद पर'; $r->log->warn( $octets ); $r->log->warn( Encode::decode_utf8( $octets ) ); print STDERR $octets; But what I get in the logs is this: [Tue Sep 23 09:12:07 2014] [warn] [client 10.5.24.82] \xd0\x91\xd1\x8b\xd1\x81\xd1\x82\

Re: undefined

2014-09-23 Thread André Warnier
Bill Moseley wrote: I'm printing like this: my $octets = 'Быстрая коричневая лиса चाँद पर'; $r->log->warn( $octets ); $r->log->warn( Encode::decode_utf8( $octets ) ); print STDERR $octets; But what I get in the logs is this: [Tue Sep 23 09:12:07 2014] [warn] [client 10.5.24.82] \xd0\x91\xd

Re: Logging wide characters to error_log

2014-09-23 Thread Bill Moseley
On Tue, Sep 23, 2014 at 11:10 AM, André Warnier wrote: > > First, the subject chosen for your email is not going to be much help for > someone searching the list archives later. Even "Быстрая коричневая лиса" > would have been better. > Odd, not sure how the subject ended up as "undefined".C