Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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?
[Corion]: I think I saw virtualsue more recently in person than online :-D
[virtualsue]: It's true that there was a bigger gap between the 2 yr old post and the one before it
[ambrus]: yes, I probably just didn't see you two years ago, because I'm not in perlmonks much
[virtualsue]: Nor am I :-)
[talexb]: virtualsue Heh .. long time no see! :)
[virtualsue]: I have a quiet Perl themed slack workspace
[virtualsue]: The person who talks to me on it the most *hates* Perl but she hates everything
[virtualsue]: If anyone is interested, ping me an email address for an invitation.

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (11)
As of 2017-09-26 13:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (295 votes). Check out past polls.

    Notices?