Fixed a bug of utf-8 encription of urls