When calling SharePoint list api's whether it be CSOM, Rest and Soap apis, they all refer to server relative urls without escaping for URLs.
When you are using the apis, inevitably you want the characters to be encoded so that you can use that URL to fetch the document library files, etc.
Is there a way to get SharePoint to return usable URLs so I don't have to write this sort of algorithm?