Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: File::Find and UTF-8 problems

by ikegami (Patriarch)
on Sep 26, 2010 at 18:01 UTC ( [id://862102]=note: print w/replies, xml ) Need Help??


in reply to File::Find and UTF-8 problems

Perl treats file names as opaque strings of bytes. readdir doesn't decode the names it returns, and File::Find doesn't decode the names returned by readdir. That means you're encoding a string that's already encoded. Either decode the file name from find before printing it, or don't encode the file name on print.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2024-04-19 16:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found