Fixed invalid UriEncode functionality

Reverse compatibile because via default encoding argument (UTF-8)
Closes #74