open(INPUT, "&:encoding(japhy)", "STDOUT" or die $!; print $out $_ while <$in>; close(INPUT);