Use Qurl::fromPercentEncoding for bookmarks

Authored by ZaWertun on May 3 2020, 1:51 AM.

Description

Use Qurl::fromPercentEncoding for bookmarks

This will allow % in URLs; also sync test code with actual code.
Previously the tests were using toUtf8(); however fromPercentEncoding
seems better.

BUG: 420791
Differential Revision: https://phabricator.kde.org/D29322