summaryrefslogtreecommitdiff
path: root/lib/App/VRR
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-10-30 11:31:57 +0100
committerDaniel Friesel <derf@finalrewind.org>2011-10-30 11:31:57 +0100
commit9924561eb3bbb9ef9b4e148d286e408c6147fa18 (patch)
tree3837d9113040b36d44ffe757c8652b1c2db17f1a /lib/App/VRR
parent40ec43afcb4f3ef677c27056cb5024f6f5845adc (diff)
Fix encoding
Diffstat (limited to 'lib/App/VRR')
-rw-r--r--lib/App/VRR/Fakedisplay.pm.PL2
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) = @_;