soliplaya has asked for the wisdom of the Perl Monks concerning the following question:
And the question is : what kind of character encoding will the directory entry "Presentación.ppt" be in, and on what does it depend ?opendir(DIR,$dirpath); my @A = readdir DIR; closedir DIR; ... my $entry = shift $A; ...
the result is false, and if I try to open() the file, it returns an error.if (-f "$dirpath/$entry")
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: utf8 in directory and filenames
by Juerd (Abbot) on Nov 13, 2006 at 17:22 UTC | |
by soliplaya (Beadle) on Nov 13, 2006 at 17:58 UTC | |
by Juerd (Abbot) on Nov 13, 2006 at 18:14 UTC | |
by soliplaya (Beadle) on Nov 13, 2006 at 20:00 UTC | |
by Juerd (Abbot) on Nov 13, 2006 at 20:09 UTC | |
| |
|
Re: utf8 in directory and filenames
by zentara (Cardinal) on Nov 13, 2006 at 16:45 UTC | |
by Juerd (Abbot) on Nov 13, 2006 at 17:26 UTC | |
by tqviet (Acolyte) on Feb 04, 2023 at 05:21 UTC | |
by soliplaya (Beadle) on Nov 13, 2006 at 17:03 UTC | |
|
Re: utf8 in directory and filenames
by graff (Chancellor) on Nov 14, 2006 at 02:34 UTC | |
by almut (Canon) on Nov 14, 2006 at 14:21 UTC |