Support multi-byte characters
Fixes dec too
Merge pull request #1 from mattn/develop

Support multi-byte characters