Fix bug with utf-8 chars in resources urls.