[dancer-users] debug vs wide character in print

nicolas rennert nicolas at rennert.fr
Wed Feb 19 09:32:09 GMT 2014


Le 19/02/2014 10:22, Nick Knutov a écrit :
> Hello all,
>
> when `debug $something` in development environment with log to console I
> have russian (utf8) symbols in $something sometimes. Dancer app crashes
> when log it with "wide character in print [...]".
>
> How to log such strings?
>
> ps:
> last version of Dancer1
> use utf8;
>
> perl -v
> This is perl 5, version 14, subversion 2 (v5.14.2) built for
> i686-linux-gnu-thread-multi-64int
>
>
>
Try use utf8::all

use utf8 does not modify the file mode;

Nicolas


More information about the dancer-users mailing list