diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-10-30 11:31:57 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-10-30 11:31:57 +0100 |
commit | 9924561eb3bbb9ef9b4e148d286e408c6147fa18 (patch) | |
tree | 3837d9113040b36d44ffe757c8652b1c2db17f1a /lib/App | |
parent | 40ec43afcb4f3ef677c27056cb5024f6f5845adc (diff) |
Fix encoding
Diffstat (limited to 'lib/App')
-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) = @_; |