Write encoding is by default the read encoding.