[dancer-users] debug vs wide character in print

Stefan Hornburg (Racke) racke at linuxia.de
Wed Feb 19 09:37:11 GMT 2014


On 02/19/2014 10:32 AM, nicolas rennert wrote:
> 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;
> 

I suspect that is a problem with Data::Dumper - https://metacpan.org/pod/Data::Dumper::AutoEncode
is supposed to fix that.

Regards
	Racke

-- 
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team



More information about the dancer-users mailing list