Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: stat() and utf8 filenames on Win32 fails for me, why?

by nikosv (Hermit)
on Feb 23, 2010 at 05:58 UTC ( #824779=note: print w/ replies, xml ) Need Help??


in reply to Re: stat() and utf8 filenames on Win32 fails for me, why?
in thread stat() and utf8 filenames on Win32 fails for me, why?

You could use inherent Windows functions;a workaround is to use the COM facilities provided by windows (in this case Scripting.FileSystemObject) which provide a much higher level of abstraction than the Win32 api calls.

In your case you could use the GetFile method and then work with the properties of the returned object such as "DateCreated".

Take a look at this Perlmonks node Opening files with japanese/chinese chars in filename and at msdn File Object


Comment on Re^2: stat() and utf8 filenames on Win32 fails for me, why?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2014-11-26 03:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (162 votes), past polls