[sword-svn] r502 - trunk/modules/conf

refdoc at crosswire.org refdoc at crosswire.org
Thu Aug 27 17:00:54 MST 2015


Author: refdoc
Date: 2015-08-27 17:00:54 -0700 (Thu, 27 Aug 2015)
New Revision: 502

Modified:
   trunk/modules/conf/confmaker.pl
Log:
improved UTF8 handling


Modified: trunk/modules/conf/confmaker.pl
===================================================================
--- trunk/modules/conf/confmaker.pl	2015-08-22 13:22:28 UTC (rev 501)
+++ trunk/modules/conf/confmaker.pl	2015-08-28 00:00:54 UTC (rev 502)
@@ -41,8 +41,9 @@
 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) {
     print "\nconfmaker.pl -- - provides a initial conf file for a new module by analysing  given OSIS xml file.\n";




More information about the sword-cvs mailing list