Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://985629]
help
Chatterbox?
LanX wished he could vote in Britain
LanX - A referendum on whether or not to have another Brexit referendum.
LanX - Legalise the hunting of fox hunters

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (13)
As of 2017-06-23 18:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (554 votes). Check out past polls.