Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: convert a Unicode file to Ansi, using filehandle..

by markuhs (Scribe)
on Nov 06, 2009 at 07:08 UTC ( [id://805417]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    open (FILE, "<:encoding(UTF-8)", $Profile) or die $!;
    my @Lines = <FILE>;
    close(FILE);
    
    open (FILE2, ">", $Profile) or die $!;
    
  2. or download this
      print FILE2 "$Line";
    }
    close(FILE2);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-04-19 13:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found