Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: problems with extended ascii characters in filenames

by graff (Chancellor)
on Mar 16, 2006 at 02:11 UTC ( #537023=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    perl -CS -e 'print chr(0xc3),chr(0xa9)' | od -txC
    
    ...
    
    0000000    c3  83  c2  a9                                             
    +   
    0000004
    
  2. or download this
    use Encode;
    
    ...
    @datafiles = grep { -f }, readdir( D );
    $_ = decode( 'utf8', $_ ) for ( @datafiles );
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2020-10-19 21:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (207 votes). Check out past polls.

    Notices?