Skip to content

Loading…

response: 500 Wide character in print at...Dancer/Logger/Console.pm line 8. #905

Open
chenjch opened this Issue · 6 comments

2 participants

@chenjch

I log a message '你好', response: 500

Warning caught during route execution: Wide character in print at /usr/local/lib/perl5/site_perl/5.8.9/Dancer/Logger/Console.pm line 8.

@racke
PerlDancer member
@chenjch

last 500 exception happen when set logger to console,not happen on file logger config

@chenjch

and i don't use utf8

@chenjch

another problem
i request a url:
http://192.168.85.148:3000/hello/你好大方的发放

the log write:
360 20130328185859

@racke
PerlDancer member
@chenjch

get '/hello/:name' => sub {

    info '你好';

    return template 'a', { aaa => '大饭店在哪里' };

};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.