PerlPksky has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to preserve Croatian characters for output in my perl scripts. The characters survive when I copy and paste them into the script I am editing, but they don't survive output from the script. And they don't survive the preview window when I copy and paste them here. We will see how they do when I post this.
This simple script does not preserve the special characters used in Croatian characters. When I run the code, I get, Ĺ˝upljanin and StaniĹĄiÄ#!/usr/bin/perl -w use warnings; print "Župljanin and Stanišić\n";
How do I fix this?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Cannot preserve Latin 2 character sets in Perl
by kennethk (Abbot) on Sep 29, 2011 at 17:11 UTC | |
|
Re: Cannot preserve Latin 2 character sets in Perl
by Anonymous Monk on Sep 29, 2011 at 16:52 UTC | |
by PerlPksky (Initiate) on Sep 29, 2011 at 17:11 UTC | |
|
Re: Cannot preserve Latin 2 character sets in Perl
by moritz (Cardinal) on Sep 29, 2011 at 18:26 UTC | |
by PerlPksky (Initiate) on Sep 29, 2011 at 22:19 UTC | |
by moritz (Cardinal) on Sep 30, 2011 at 06:48 UTC | |
by PerlPksky (Initiate) on Sep 30, 2011 at 16:14 UTC |