Make sure program output use utf-8 encoding
authorAndreas Rönnquist <gusnan@gusnan.se>
Mon, 23 Jun 2014 08:27:57 +0000 (10:27 +0200)
committerAndreas Rönnquist <gusnan@gusnan.se>
Mon, 23 Jun 2014 08:27:57 +0000 (10:27 +0200)
clawsker

index 84bf40e..f7a64cb 100755 (executable)
--- a/clawsker
+++ b/clawsker
@@ -11,6 +11,9 @@
 # See COPYING file for license details.
 # See AUTHORS file for a complete list of contributors.
 #
+
+binmode STDOUT, ":encoding(utf8)";
+
 use strict;
 use utf8;
 use Glib qw(TRUE FALSE);