Skip to content

Commit

Permalink
Update utf16.pl
Browse files Browse the repository at this point in the history
  • Loading branch information
simple-evcorr authored Oct 28, 2017
1 parent d895512 commit 07c1a79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utf16-logfiles/utf16.pl
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

if (!defined($ARGV[3])) {
$encoding = "UTF-16LE";
} elsif ($ARGV[3] =~ /^(UTF-16(?:LE|BE)?)/i) {
} elsif ($ARGV[3] =~ /^(UTF-16(?:LE|BE)?)$/i) {
$encoding = $1;
} else {
die "encoding has to be set to 'UTF-16LE', 'UTF-16BE' or 'UTF-16'\n";
Expand Down

0 comments on commit 07c1a79

Please sign in to comment.