in reply to Re: Cannot preserve Latin 2 character sets in Perl
in thread Cannot preserve Latin 2 character sets in Perl
That didn't work exactly, but I poked around a little and tried,
use utf8;
use Encode qw(encode);
print encode 'iso-8859-2', 'Župljanin and Stanišić'."\n";
And that worked. I should add that "use utf8;" has got to be there, it doesn't work without it.
Thanks for the tip.
|
|---|