Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Check if unicode directory exists

by moritz (Cardinal)
on Aug 06, 2012 at 08:17 UTC ( #985629=note: print w/ replies, xml ) Need Help??


in reply to Check if unicode directory exists

The -d file test operator and Unicode don't mix well on Windows.

Other solutions exist. See How to stat a file with a Unicode (UTF16-LE) filename in Windows?, enumerate windows unicode filenames and Win32 API directory searches that return wide / unicode filenames. I'm sure Super Search will find even more nodes that deal with this topic, it's quite common around here.


Comment on Re: Check if unicode directory exists

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://985629]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (15)
As of 2015-07-01 20:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (19 votes), past polls