opendir / readdir and encoding of file names

opendir / readdir and encoding of file names

am 13.02.2007 15:22:22 von Torsten.Werner

Hi all,
it is possible to specify encoding for files during PerlIO, like
open $handle, "<:encoding(cp1252)",$file
Anything from this handle is perl-like coded.

Is there a similar possibility for opendir/readdir?
What is the encoding of file names received by readdir?
Is it depending on Windows NLS settings and LANG on UNIX? Or is it
perl-encoded by default?
I did not found any specification in manpages.

Torsten


_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs