Fix multibyte handling
Merge pull request #1 from mattn/fix_multibyte_handling

Fix multibyte handling