Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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

by nikosv (Chaplain)
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 wandering the Monastery: (8)
As of 2016-06-26 09:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (328 votes). Check out past polls.