Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 perusing the Monastery: (3)
As of 2015-07-05 03:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls