(with or without 'binmode $output, ":encoding(utf8)"' but without 'binmode $output;')use strict; use warnings; use utf8; my $string = '£'; open my $output, '>:encoding(utf8)', 'out.txt' or die $!; #binmode $output, ":encoding(utf8)"; print $output $string; close $output;
In reply to Re^2: Using encoding
by vsespb
in thread Using encoding
by MorayJ
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |