fixed rack.input read encoding