I am parsing the public timeline xml from twitter and want to display images next to the statuses.
The problem is some image urls contain strange characters:
e.g.
http://s3.amazonaws.com/twitter_production/profile_images/68803670/Gryn_i_h%E4ngmattan_normal.jpg
Some of the characters can be replaced with urlencode, but I have no idea what to do with asian text or other strange urls.
All I want is something that will return me the default twitter profile png if no valid image url is supplied.
Any hints ?