diff options
Diffstat (limited to 'modules/perlconverters')
-rw-r--r-- | modules/perlconverters/usfm2osis.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/perlconverters/usfm2osis.pl b/modules/perlconverters/usfm2osis.pl index f298936..7bb7e70 100644 --- a/modules/perlconverters/usfm2osis.pl +++ b/modules/perlconverters/usfm2osis.pl @@ -87,7 +87,6 @@ $usfmVersion = "2.2"; # The USFM reference document can be found at http://www.u $divOpen=false; - # Generates a list of available encodings. use Encode; @encodingList = Encode->encodings(":all"); @@ -132,11 +131,13 @@ else { if (@ARGV[$nextarg] eq "-t") { $moduleType = "@ARGV[$nextarg+1]"; + $moduleType = lc($moduleType); $nextarg += 2; } else { $moduleType = "bible"; } + $encFound = 0; foreach $enc (@encodingList) { if ($enc eq $inputEncoding) { |