iOS Question Job.Download unsupported URL

Sviluppatori Liceo Giovio

Member
Licensed User
In my application I grab a list of URLs from a webpage and download them using job.download. Any URL that contains special characters (such as à) gives the error "unsupported URL, status code:0".

Is there any good way to simply decode any special character in the correct formatting (such as %C3%A0 in this case)? I looked into stringutils.decodeURL to no avail, but perhaps I'm doing something wrong.
 

watesoft

Active Member
Licensed User
Longtime User
In my application I grab a list of URLs from a webpage and download them using job.download. Any URL that contains special characters (such as à) gives the error "unsupported URL, status code:0".

Is there any good way to simply decode any special character in the correct formatting (such as %C3%A0 in this case)? I looked into stringutils.decodeURL to no avail, but perhaps I'm doing something wrong.

https://www.b4x.com/android/forum/threads/unsupported-url-with-imagedownloader.73147/#post-464811
 
Upvote 0
Top