Succesfully tweaked encoding of URLs in views functions.