enable encoding feature
fix
Merge pull request #791 from kostya/encoding

enable encoding feature