Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Handling file path with unusual characters

by poolpi (Hermit)
on Feb 24, 2009 at 10:05 UTC ( #745952=note: print w/ replies, xml ) Need Help??


in reply to Handling file path with unusual characters

I think you should encode perl's string internal form into your encoding with encode from Encode

my $octets = encode($encoding, $path);


hth,
PooLpi

'Ebry haffa hoe hab im tik a bush'. Jamaican proverb


Comment on Re: Handling file path with unusual characters
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2016-02-14 11:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (470 votes), past polls