Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: How can I get a Unicode @ARGV?

by philiprbrenan (Monk)
on Aug 31, 2012 at 11:51 UTC ( #990988=note: print w/replies, xml ) Need Help??


in reply to How can I get a Unicode @ARGV?

An alternative might be to place the unicode text in a file and then drop that file name on your executable. It would then be staight forward to read the unicode text via:

open(my $F, "<:encoding(UTF-8)", $f) or die "Cannot open $f for unic +ode input";

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://990988]
help
Chatterbox?
NodeReaper wonders through a maze of twisty little sayings, all alike

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2017-07-22 21:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (341 votes). Check out past polls.