Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Outputting Unicode to DOS

by aitap (Curate)
on Aug 27, 2015 at 16:09 UTC ( [id://1140226]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use utf8;
    use Encode 'encode';
    my $str = "abc123äöüß";
    print encode cp850 => $str;
    
  2. or download this
    use utf8;
    use Encode; # explicitly use for its binmodes
    use Encode::Locale;
    binmode STDOUT, ":encoding(console_out)";
    my $str = "abc123äöüß";
    print $str;
    

Log In?
Username:
Password:

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

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

    No recent polls found