diff options
-rw-r--r-- | lib/App/VRR/Fakedisplay.pm.PL | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/App/VRR/Fakedisplay.pm.PL b/lib/App/VRR/Fakedisplay.pm.PL index ebb436d..a6d9e5f 100644 --- a/lib/App/VRR/Fakedisplay.pm.PL +++ b/lib/App/VRR/Fakedisplay.pm.PL @@ -10,7 +10,7 @@ my ($out_file) = @ARGV; my $font = GD::Image->new('share/font.png'); my $black = $font->colorClosest(0, 0, 0); -open(my $out_fh, '>', $out_file) or die("open ${out_file}: $!"); +open(my $out_fh, '>:encoding(UTF-8)', $out_file) or die("open ${out_file}: $!"); sub write_out { my ($off_x, $off_y, $char) = @_; |