Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Bizarre Dancer encoding behavior

by wjw (Priest)
on Jul 21, 2014 at 02:37 UTC ( [id://1094412]=note: print w/replies, xml ) Need Help??


in reply to Bizarre Dancer encoding behavior

I wonder if in the first case the return from a system call is what is actually mangling the output of the call instead of dancer.

When Dancer handles things internally, it 'knows' what to expect and what to do with it?..

Have just begun to look at Dancer2 myself, so have no expertise in that arena. Have noticed however, that the output of the shell can get munged when fed into some other process... . My wife works mostly in Cyrillic on her Linux laptop, and have faced challenges similar to this.

Just a thought....

...the majority is always wrong, and always the last to know about it...

Insanity: Doing the same thing over and over again and expecting different results...

A solution is nothing more than a clearly stated problem...otherwise, the problem is not a problem, it is a facct

Replies are listed 'Best First'.
Re^2: Bizarre Dancer encoding behavior
by Anonymous Monk on Jul 21, 2014 at 02:41 UTC

    I wonder if in the first case the return from a system call is what is actually mangling the output of the call instead of dancer.

    ...and in the second one? Come on, this is pretty clear. 'system' returns bytes, and Perl decodes them from Latin-1, like it always does by default.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1094412]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-04-23 21:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found