ok, latest news: I hacked http.cpp and added decoding function statically there. so if anybody needs it in kdelibs - it can be made public... also, I've just fixed KUrl to properly decode %-encoded query part of the url in prettyUrl()