-
Notifications
You must be signed in to change notification settings - Fork 6.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UTF-8 symbols and spaces in image URL #31
Comments
The same if it contains spaces! It seems that it can be solved by using urlEncoder. May be this helps |
I tried to found nice solution for this bug but couldn't do it. UrlEncoder didn't help me. |
I have also seen this: String urlStr = "http://abc.dev.domain.com/0007AC/ads/800x480 15sec h.264.mp4"; I haven't tried it, i will try when I have time |
yevons code works fine. Please, add this to jar library. |
May be it fixes problem for spaces, but it doesn't fix "UTF-8 symbols problem". |
It also fixes a problem with '[' ']' |
I have made some tests, and I don't know the reason of using Uri in all the code. For knowing the procol isn't enough with String.startsWith("/") -> file , String.startsWith("http") , String.startsWith("content") etc? Without using Uri, all this problems dissappear. Something like that: private InputStream getInputStream(String url) {
|
Issue #31 - UTF-8 symbols and spaces in image URL
Fixed issue with UTF-8 symbols and spaces in image URL as described in this thread: nostra13/Android-Universal-Image-Loader#31
Image can't be loaded if image URL contains UTF-8 locale-specific symbols (e.g. 'ф', 'à', 'ß')
The text was updated successfully, but these errors were encountered: