Add support for non-latin chars

Adds urlencoding to arguments, which allows using hashtags like #футбол, #足球, etc.

Also fixes a warning that breaks tests.