Con server.URLEncode(url) dovresti risolvere tutti questi problemi.