Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: How can I get a Unicode @ARGV?

by remiah (Hermit)
on Aug 31, 2012 at 05:18 UTC ( #990920=note: print w/replies, xml ) Need Help??


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

When dropped, your program is kicked with path name of the dropped file and it was set to @ARGV?

Can you examine the encoding of @ARGV? For example, decode it with UTF16LE, GB2312, CP932, or other possibilities. Show it and choose correct one.

If it is from command line, CP932 will decode @ARG properly with Japanese XP.

But your case seems different...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://990920]
help
Chatterbox?
erix off to lookup some html 101 page
[erix]: oh, I see... it's pretty obvious really
[choroba]: What do you mean by "anchors"?
[erix]: anchors

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2018-06-19 12:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (113 votes). Check out past polls.

    Notices?