summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter von Kaehne <refdoc@gmx.net>2015-08-28 00:00:54 +0000
committerPeter von Kaehne <refdoc@gmx.net>2015-08-28 00:00:54 +0000
commitcd6e034126b245124eb4fd50b5fda955338d14a5 (patch)
tree9acd9107b382707aa7c5699a6af539f2d9bf7c61
parent869970cbd90dda805d42252689b048f4075cead6 (diff)
downloadsword-tools-cd6e034126b245124eb4fd50b5fda955338d14a5.tar.gz
improved UTF8 handling
git-svn-id: https://www.crosswire.org/svn/sword-tools/trunk@502 07627401-56e2-0310-80f4-f8cd0041bdcd
-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) {