summaryrefslogtreecommitdiff
path: root/corpus
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
commit4f452c5bf5cd0ed3cb50d31012f93a50366b3aac (patch)
tree05518ecba50325525252c867a14bb8bfae1e9999 /corpus
parent9f1d72fa4dc231eb8cdb737becfc10452b5daef4 (diff)
fix possible utf8 bug
Diffstat (limited to 'corpus')
-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;
}