Skip to content
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 character in URL failed to load #652

Closed
ghost opened this issue Sep 11, 2014 · 1 comment
Closed

UTF-8 character in URL failed to load #652

ghost opened this issue Sep 11, 2014 · 1 comment

Comments

@ghost
Copy link

ghost commented Sep 11, 2014

Picasso.with(context).load(Uri.parse(imagePaths[position])).error(R.drawable.ic_err).into(holder.iv);

This shows error is url contains any Chinese letter in URL.

@ghost
Copy link
Author

ghost commented Sep 11, 2014

Solved it with
org.apache.commons.httpclient.util

URIUtil.encodeQuery(ChineseURL).

I am expecting library to do it automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant