Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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.

Replies are listed 'Best First'.
Re^4: How to stat a file with a Unicode (UTF16-LE) filename in Windows?
by alanhaggai (Novice) 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?
[choroba]: I don't see it when XP doesn't change either
[marinersk]: That has always been its behavior, but I'm a visual/spacial- awareness guy. When the node disappears, it messes with my head, even though it is on the right margin.
[marinersk]: I was hoping there was a way to turn it on and make it stay on.

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2017-05-29 13:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?