summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Dyer <cdyer@allegro.clab.cs.cmu.edu>2013-03-17 23:26:24 -0400
committerChris Dyer <cdyer@allegro.clab.cs.cmu.edu>2013-03-17 23:26:24 -0400
commitf67d074917d61b0f255dab5ae6adf5781430c9fd (patch)
treed89cc1476a9ef7e07a479c669fb57c0e10d98837
parentcba324bee086f4dd0fc9df204d33ff7eb9b6c323 (diff)
fix possible utf8 bug
-rwxr-xr-xcorpus/lowercase.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/corpus/lowercase.pl b/corpus/lowercase.pl
index 688e493b..9fd91dac 100755
--- a/corpus/lowercase.pl
+++ b/corpus/lowercase.pl
@@ -2,7 +2,7 @@
use strict;
binmode(STDIN,":utf8");
binmode(STDOUT,":utf8");
-while(<>) {
+while(<STDIN>) {
$_ = lc $_;
print;
}