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

Re: DOS 8.3 filenames output when filenames contain Unicode Character 'MINUS SIGN' (U+2212)

by Sandy (Curate)
on Dec 08, 2009 at 15:02 UTC ( [id://811753]=note: print w/replies, xml ) Need Help??


in reply to DOS 8.3 filenames output when filenames contain Unicode Character 'MINUS SIGN' (U+2212)

Hello

I can't reproduce your problem, so I don't know if this will work, but it's worth a shot

Win32

Win32::GetLongPathName(PATHNAME)

CORE: Returns a representation of PATHNAME composed of longname components (if any). The result may not necessarily be longer than PATHNAME. No attempt is made to convert PATHNAME to the absolute path. Compare with Win32::GetShortPathName() and Win32::GetFullPathName().

This function may return the pathname in Unicode if it cannot be represented in the system codepage. Use Win32::GetANSIPathName() before passing the path to a system call or another program.

Sandy
  • Comment on Re: DOS 8.3 filenames output when filenames contain Unicode Character 'MINUS SIGN' (U+2212)
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2026-04-12 00:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.