Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Simplest Possible Way To Disable Unicode

by ikegami (Pope)
on May 24, 2011 at 00:17 UTC ( #906385=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    open(my $fh, '>', ...) or die ...;
    my $buf = encode('UTF-8', $text);
    sysrwite($fh, $buf);  # Or: print $fh $buf;
    
  2. or download this
    open(my $fh, '>:encoding(UTF-8)', ...) or die ...; 
    sysrwite($fh, $text);  # Or: print $fh $text;
    
  3. or download this
    binmode($fh, ':encoding(UTF-8)');
    sysrwite($fh, $text);  # Or: print $fh $text;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2021-04-18 00:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?