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...
|
---|
In Section
Seekers of Perl Wisdom