Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2016-10-01 23:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (9 votes). Check out past polls.