Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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

by Sandy (Deacon)
on Dec 08, 2009 at 15:02 UTC ( #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
Node Status?
node history
Node Type: note [id://811753]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (11)
As of 2014-07-30 18:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (239 votes), past polls