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

Re^3: How to stat a file with a Unicode (UTF16-LE) filename in Windows?

by ikegami (Pope)
on Feb 06, 2009 at 06:32 UTC ( #741812=note: print w/ replies, xml ) Need Help??


in reply to Re^2: How to stat a file with a Unicode (UTF16-LE) filename in Windows?
in thread How to stat a file with a Unicode (UTF16-LE) filename in Windows?

Also, in Windows, internally, which encoding is used for filenames? UTF16-le or UCS-2le?

It is my tenuous understanding that the difference between UTF-16 and UCS-2 is UTF-16 can address characters above 64K and UCS-2 cannot. I haven't seen any support for multi-word characters in Windows, so I believe it's UCS-2. In practice, it doesn't matter which one you use.

I did not use Symbol, and gensym()

The documentation for OsFHandleOpen clearly defines what is acceptable, and an undefined lexical isn't one one of those.


Comment on Re^3: How to stat a file with a Unicode (UTF16-LE) filename in Windows?
Select or Download Code
Re^4: How to stat a file with a Unicode (UTF16-LE) filename in Windows?
by alanhaggai (Initiate) on Feb 06, 2009 at 06:38 UTC
    Oh I see. Thank you.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2015-07-02 06:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (29 votes), past polls