Make sure program output use utf-8 encoding
[clawsker.git] / clawsker
index ef43dba31496985cc7c3964680604a4968a3b731..f7a64cb2edcb45552d1a14ba4ae4d41b5a18b0b9 100755 (executable)
--- a/clawsker
+++ b/clawsker
@@ -2,9 +2,18 @@
 #
 # Clawsker :: A Claws Mail Tweaker
 # Copyright 2007-2014 Ricardo Mones <ricardo@mones.org>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
 # 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);