changes encoding function
Merge pull request #8 from ebaioni/rawUrlEncoding

changes encoding function