move the position of set encoding
fix typos and tab
fix tab
Merge pull request #62 from hzhua/word_demo2

move the position of set encoding