Fix inputEncoding/outputEncoding defaults
Merge pull request #18 from joliss/encoding

Fix inputEncoding/outputEncoding defaults