|
|
| Think about Loose Coupling | |
| PerlMonks |
Re: How can I get a Unicode @ARGV?by remiah (Friar) |
| on Aug 31, 2012 at 05:18 UTC ( #990920=note: print w/ replies, xml ) | Need Help?? |
|
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...
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||