perlmonkdr has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks,
I'm again, :-), i can believe that one step is one problem to me, well i was tried to create a directory with utf8 name encoding but can do this, i'm read some question similar in this thread 604999, can't found any solution.
Check this code, save in utf-8:#!/usr/bin/perl use utf8; mkdir "Ïntêràtíonaliçzation"; system "mkdir Ïntêràtíonal"; open F,'>:utf8','./test.txt'; print F "Ïntêràtíonaliçzation"; close F;
If you see the test.txt file the word is ok encoded, but both makes dir not at least in win xp.
How can i tell to perl that create the directory in utf8
Many thank
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Mkdir and utf8
by moritz (Cardinal) on Nov 07, 2007 at 18:36 UTC | |
by perlmonkdr (Beadle) on Nov 08, 2007 at 00:16 UTC | |
|
Re: Mkdir and utf8
by ikegami (Patriarch) on Nov 07, 2007 at 21:05 UTC | |
by perlmonkdr (Beadle) on Nov 08, 2007 at 00:11 UTC | |
by ikegami (Patriarch) on Nov 08, 2007 at 01:29 UTC | |
by Anonymous Monk on Nov 08, 2007 at 07:48 UTC | |
|
Re: Mkdir and utf8
by apl (Monsignor) on Nov 07, 2007 at 18:22 UTC | |
by ikegami (Patriarch) on Nov 07, 2007 at 19:09 UTC | |
by perlmonkdr (Beadle) on Nov 08, 2007 at 00:28 UTC | |
by perlmonkdr (Beadle) on Nov 08, 2007 at 00:23 UTC | |
by apl (Monsignor) on Nov 08, 2007 at 10:45 UTC |