Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Simplest Possible Way To Disable Unicode

by ikegami (Patriarch)
on May 24, 2011 at 00:17 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://906385]
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found