1 2 3 4 5 6 7 8 9
#!/usr/bin/perl -w use strict; binmode(STDIN,":utf8"); binmode(STDOUT,":utf8"); while(<STDIN>) { $_ = lc $_; print; }