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 84bf40efd1a4d0bf774b7c930517028c11f7897c..f7a64cb2edcb45552d1a14ba4ae4d41b5a18b0b9 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);