"{} => +{}" and fixed a bug: if -t STDIN is true, configure_encoding doesn't work even through -t STDOUT is true.