Here is the code where I get the error:
while (defined(my $i = <READ>))
{
my $text_str = decode('utf-8', $i);
$text_str =~ s/\xA7/ยง/g;
$text_str =~ s/\t/\n/g;
print WRITE $text_str;
}
The error is:
Wide character in print at script/conv_charset.pl line 34,
How can I fix this? I want to get rid of this error.