Fix inputEncoding/outputEncoding defaults