In Windows 7, this outputs a correct utf8 listing.
open fList, '-|:encoding(UTF-16LE)', 'cmd /U /C dir /W'; open fOut, '>', 'out.txt'; foreach (<fList>) { utf8::encode($_); print fOut $_; }
In reply to Re^3: how to read unicode filename
by Anonymous Monk
in thread how to read unicode filename
by uva
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |