add stats-encoding key
Merge pull request #4 from xuwei-k/encoding

add stats-encoding key