Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (11)
As of 2015-10-06 17:14 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (155 votes), past polls