avoid invalid byte sequence error
Merge pull request #44 from murashin/master

avoid invalid byte sequence error