adding character encoding to urls