Fixed #1723

I'm unsure that using unicode to `method` is expectable behavior or not.
but this pull request will fix #1723