Android Question HttpUtils2 invalid character in input string - []

ronovar

Active Member
Licensed User
Longtime User
Hi.

I im using HttpUtils2 and would like to assign images to listview1. When i im using
B4X:
Job1.Download("http://mywebsite.com/covers/My%20Movie%20Title%20[2014]%20BIG.jpg")

I im getting error invalid character....so after inspecting and debugging i find that the characters [ and ] are not supported in url link...When i insert () character it works...but problem is that i have a large amount of covers that are hardcoded into php scripts so i cannon rename all covers images.

Question is if is possible to use [] character in url? I Think putting ascii code that is for space %20 but i don't know what is ascii code for [ and ]. If that helps...

So any help welcome.

Many Thanks.
 
Top