Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Unicode in filenames

by blahblahblah (Priest)
on Feb 13, 2006 at 02:42 UTC ( [id://529724]=note: print w/replies, xml ) Need Help??


in reply to Unicode in filenames

Maybe you could encode it using a local encoding, something like this?:
use Encode; $decodedLocalName = decode('utf8', $name); $decodedLocalName = encode('iso-8859-1', $decodedLocalName); open my $fh, '>', $decodedLocalName ...
You said you generally have no problem with unicode filenames. Do you mean that on this same OS, similar unicode characters work in similar perl scripts, or is there something special about this case?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-04-24 20:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found