Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 romping around the Monastery: (7)
As of 2024-04-16 11:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found