Make sure that we feed set_url() with a QUrl from an UTF-8 encoded string.