in reply to Re^3: How can I get a Unicode @ARGV?
in thread How can I get a Unicode @ARGV?
In cp950: dir/b It shows the files with unicode char correctly. However, dir/b > list.txt the content inside list turns into "????"
In cp65001: dir/b It shows the files with monster char. However, dir/b > list.txt gives the correct list.
Most confused me is that when you can see the String right, it doesn't mean the Data is right, vice versa. And I actually have no idea why Unicode chars can show correctly when dir (or drop a file path in the cmd console) in cp950, but then can't manipulate(@ARGV) later.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: How can I get a Unicode @ARGV?
by remiah (Hermit) on Sep 01, 2012 at 13:24 UTC | |
Re^5: How can I get a Unicode @ARGV?
by nikosv (Deacon) on Sep 01, 2012 at 13:21 UTC |
In Section
Seekers of Perl Wisdom