Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: En/Decode a unicode path

by exilepanda (Friar)
on Jan 24, 2023 at 05:21 UTC ( [id://11149802]=note: print w/replies, xml ) Need Help??


in reply to Re^2: En/Decode a unicode path
in thread En/Decode a unicode path

Perl builtins use the (A)NSI version of API functions
Thank you! This is some how inspiring. Now I can do this :
use Win32; use Storable; my $file = Win32::GetShortPathName('X:\Some\Unicode\Path\\'); # it giv +es me a 8.3 path print -e $file; # Got it! store {}, "$file/Storable.sto"; # Done!
The only draw back for now is the path/file must existing, so that the FS can "assign" the 8.3 location.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-03-28 13:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found