Why is the encoding thing done on the stderr only?