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 | f67d074917d61b0f255dab5ae6adf5781430c9fd (patch) | |
tree | d89cc1476a9ef7e07a479c669fb57c0e10d98837 /corpus/lowercase.pl | |
parent | cba324bee086f4dd0fc9df204d33ff7eb9b6c323 (diff) |
fix possible utf8 bug
Diffstat (limited to 'corpus/lowercase.pl')
-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; } |