Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: help needed in opendir

by uva (Sexton)
on Mar 13, 2006 at 07:18 UTC ( [id://536205]=note: print w/replies, xml ) Need Help??


in reply to Re: help needed in opendir
in thread help needed in opendir

i actually created directory with chinese characters , i tried to read that chinese directory. and also i tried the above solution it is just printing "???" for that chinese directory . how to read that chinese directory.

Replies are listed 'Best First'.
Re^3: help needed in opendir
by Anonymous Monk on Mar 13, 2006 at 11:06 UTC
    Works for me.
    ~/536198> ls 536198.pl 中文 ~/536198> cat 536198.pl #!/usr/bin/perl use strict; use diagnostics; opendir my $dirhandle, "." or die "could not opendir current dir: $!"; print join "\n", readdir $dirhandle; closedir $dirhandle; ~/536198> perl 536198.pl . .. 中文 536198.pl
      i am using windows 2000 .

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2025-01-13 10:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which URL do you most often use to access this site?












    Results (28 votes). Check out past polls.