perlacc has asked for the wisdom of the Perl Monks concerning the following question:

I am sending utf 8 string as command line argument to my perl script. But when I read this argument, I do not get this string as desired. How to read utf 8 command line arguments in perl. I want this to be done using windows as operating system. Regards.
  • Comment on Read utf 8 command line on windows enviornment

Replies are listed 'Best First'.
Re: Read utf 8 command line on windows enviornment
by almut (Canon) on Oct 12, 2009 at 11:21 UTC

    You could try  perl -CA ...

    From perlrun:

    -C [number/list] ... A 32 the @ARGV elements are expected to be strings encoded i +n UTF-8
Re: Read utf 8 command line on windows enviornment
by moritz (Cardinal) on Oct 12, 2009 at 10:51 UTC