FIX: #issue 796 (Can't output CJK characters properly on Windows
TESTS: add test for #issue 796
Merge pull request #797 from qtxie/issue-796

FIX: issue #796 (Can't output CJK characters properly on Windows)