encode repo url to utf-8