summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmodules/conf/confmaker.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/conf/confmaker.pl b/modules/conf/confmaker.pl
index 81bb283..2662ae1 100755
--- a/modules/conf/confmaker.pl
+++ b/modules/conf/confmaker.pl
@@ -41,7 +41,8 @@
use XML::LibXML;
use I18N::LangTags::List;
use Unicode::UCD 'charinfo';
-binmode (STDOUT,":utf8");
+use open ':std', ':encoding(UTF-8)';
+
## Obtain arguments
if (scalar(@ARGV) < 1) {