in reply to how to read unicode filename
pack("A4",$chinese); [download]
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 $_; } [download]