in reply to unicode version of readdir
use Encode; opendir( D, $path ); @datafiles = grep { -f }, readdir( D ); $_ = decode( 'utf8', $_ ) for ( @datafiles );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: unicode version of readdir
by dk (Chaplain) on Sep 14, 2007 at 20:50 UTC | |
by graff (Chancellor) on Sep 14, 2007 at 23:30 UTC | |
by Joost (Canon) on Sep 14, 2007 at 23:46 UTC | |
by zentara (Cardinal) on Sep 15, 2007 at 12:26 UTC |