Encode urls with weird characters