duc has asked for the wisdom of the Perl Monks concerning the following question:
Hi!
Here is basically the problem. I have a script which takes arguments from the command line or from the standard input. These arguments are then used to update the windows registry. Most likely, those arguments are to contain French characters. When I simply use : my $arg1 = <STDIN>; The sring "Précis" becomes Pr;cis (which is pretty bad since it will affect the registry).
Is there a way to keep the french character the way it was entered? I have look through a couple of forums but I could only find answers related to e-mail subjects... Could it be due to the command shell?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Handling French Character input
by Hue-Bond (Priest) on Jul 26, 2006 at 20:13 UTC | |
|
Re: Handling French Character input
by duckyd (Hermit) on Jul 26, 2006 at 20:41 UTC |