Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 scrutinizing the Monastery: (6)
As of 2015-08-02 22:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (16 votes), past polls