diff options
author | Chris Dyer <cdyer@allegro.clab.cs.cmu.edu> | 2013-03-17 23:26:24 -0400 |
---|---|---|
committer | Chris Dyer <cdyer@allegro.clab.cs.cmu.edu> | 2013-03-17 23:26:24 -0400 |
commit | 4f452c5bf5cd0ed3cb50d31012f93a50366b3aac (patch) | |
tree | 05518ecba50325525252c867a14bb8bfae1e9999 | |
parent | 9f1d72fa4dc231eb8cdb737becfc10452b5daef4 (diff) |
fix possible utf8 bug
-rwxr-xr-x | corpus/lowercase.pl | 2 |
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; } |