fix issue #20 for dealing with Chinese correctly
Merge pull request #21 from baodude/patch-1

fix issue #20 for dealing with Chinese correctly