summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter von Kaehne <refdoc@gmx.net>2015-12-26 06:40:51 +0000
committerPeter von Kaehne <refdoc@gmx.net>2015-12-26 06:40:51 +0000
commita87013bf1abc2963bd2792233be2c1af56c1223a (patch)
treefb8dace25c5c9e9340ed86061a0a30c1977524c6
parent64cf317fed6f484d864e5638788ddc7e8f2f86df (diff)
downloadsword-tools-a87013bf1abc2963bd2792233be2c1af56c1223a.tar.gz
corrections
git-svn-id: https://www.crosswire.org/svn/sword-tools/trunk@507 07627401-56e2-0310-80f4-f8cd0041bdcd
-rwxr-xr-xmodules/conf/confmaker.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/conf/confmaker.pl b/modules/conf/confmaker.pl
index 752399c..ef76fe1 100755
--- a/modules/conf/confmaker.pl
+++ b/modules/conf/confmaker.pl
@@ -65,15 +65,15 @@ $nextarg = 1;
if (@ARGV[$nextarg] eq "-o") {
$outputFileName = "@ARGV[$nextarg+1]";
$nextarg += 2;
- open (OUTF,, ">:utf8", "$outputFileName") or die "Could not open file $outputFileName for writing.";
+ open (OUTF,, ">", "$outputFileName") or die "Could not open file $outputFileName for writing.";
select(OUTF)
}
if (@ARGV[$nextarg] eq "-i") {
$inputFileName = "@ARGV[$nextarg+1]";
$nextarg += 2;
- open (INF,, "<:utf8","$inputFileName") or die "Could not open inputfile $inputFileName for reading ;
- @inputfile = <INF>;
+ open (INF,, "<","$inputFileName") or die "Could not open inputfile $inputFileName for reading" ;
+ @inputFile = <INF>;
}
if (@ARGV[$nextarg] eq "-m") {