Merge pull request #16 from tats/bug/cp932

Supporting cp932 (Windows-31J).
Fixing segfault of mewl.
Merge branch 'bug/mewl-segv'