Escape characters conform to the RFC3986
Merge pull request #196 from kazhiramatsu/escape

Escape characters conform to the RFC3986