in reply to Re: utf8 encoding and warnings woe
in thread utf8 encoding and warnings woe
Ah, that makes a heap of sense - thank you.
Actually putting the binmode STDOUT, ":utf8"; after the 'corrupting' print:
print "\n" . $output2; binmode STDOUT, ":utf8"; print "\n$str";
'fixes' the problem too, but isn't near as clean as the decode solution.
|
|---|