perl-unicode

Traversing Unicode directories on NT...

2000-06-29 12:15:16
Platform: Windows NT 4.0
Perl version: 5.005
 
I'm having some problems traversing directories who's names have a Unicode
character in them...  The functions in Perl just seem to ignore the
directories and when using a system call to dir Perl doesn't recognize the
chars correctly...
 
##This way reads in the directories but cannot recognize the one Unicode
char
open( subdir, "dir /x /ad . |");
@subdir = <subdir>;
close(subdir);
 
##This way ignores any directories with Unicode chars
opendir( subdir, "." );
@subdir = grep(!/^\./, grep( -d, readdir(subdir)));
closedir(subdir);
 
Is there a way to use the Unicode module to recognize the Unicode
characters?
Any help appreciated...
 
Thanks,
Mark
 

<Prev in Thread] Current Thread [Next in Thread>
  • Traversing Unicode directories on NT..., markduenas <=