Don't ask to ask, just ask | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hi Monks, this is my first post after a long time
What is the state of the directory operators (opendir,readdir) regarding Unicode support? I am under the impression that there is still no support for reading directories and files on a Unicode enabled file system. For example on Win32, the non-Unicode directory operators get the data after being converted from UTF to ANSI using the System Default Page settings, although the filesystem is UTF16. Thus to read Unicode dirs and files I am using Win32::COM which can read UTF8, although there is this module Win32-Unicode-0.26 which I have not tried. So after this long introduction, the question is why those operators as opposed to the file-handling operations are not Unicode enabled (not necessarily by default but could be enabled by using a pragma), if that holds true for other OS's i.e Linux as well, and what are suggested workarounds thanksIn reply to Directory operations and Unicode by nikosv
|
|