Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2014-07-12 14:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (240 votes), past polls