Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
We don't bite newbies here... much
 
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 chanting in the Monastery: (8)
As of 2014-04-17 02:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (437 votes), past polls