Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: How to convert non-ASCII output from qx

by freonpsandoz (Beadle)
on Jun 19, 2012 at 07:32 UTC ( [id://976973]=note: print w/replies, xml ) Need Help??


in reply to Re: How to convert non-ASCII output from qx
in thread How to convert non-ASCII output from qx

By "at your console" I assume you mean "in a cmd.exe window." Right after a reboot, chcp reports the active console code page as 437. Later on, some undetermined process changes it. After that, chcp reports the code page as 1252. My script does set STDOUT to UTF8 with binmode and the output, redirected to a file, is correct. I tried setting STDIN to UTF8, but this seems to have no effect on the behavior of qx.
  • Comment on Re^2: How to convert non-ASCII output from qx

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-26 06:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found