Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

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 lurking in the Monastery: (7)
As of 2015-11-27 23:00 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (734 votes), past polls