Update encoding
Merge pull request #1 from unnx/patch-1

Update encoding