I have an application which downloads an image from a given url like this:
Bitmap bitmap = BitmapFactory.decodeStream((InputStream) new URL(url).getContent());
And it works fine on URL like this:
http://www.test.com/images/test.jpg
But when I try to load an image from this URL:
http://www.test.com/images/מדבר.jpg
It fails and throw an java.io.FileNotFoundException.
Can anyone tell me what I need to do to load images with Hebrew characters in their URL?