Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 romping around the Monastery: (9)
As of 2014-10-22 23:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (122 votes), past polls