Android-Universal-Image-Loader icon indicating copy to clipboard operation
Android-Universal-Image-Loader copied to clipboard

The picture which name is chinese can not be displayed

Open wyq01 opened this issue 11 years ago • 9 comments

The picture which name is chinese can not be displayed

I fix it, ImageLoader.getInstance().displayImage(Uri.decode(Uri.fromFile(file).toString()), holder.iv, options, null);

wyq01 avatar Nov 20 '14 09:11 wyq01

Can you provide sample link?

nostra13 avatar Nov 20 '14 12:11 nostra13

final URL url = new URL(Uri.encode(urlString, "@#&=*+-_.,:!?()/~'%")); u can do like this

bacy avatar Nov 21 '14 08:11 bacy

you can try to rename a photo which in disk as "示例.jpg", and use UIL to display it,then the bug will come out

wyq01 avatar Nov 24 '14 05:11 wyq01

Actually I don't know how to fix it.

nostra13 avatar Feb 26 '15 20:02 nostra13

Me too, How to fix it

kjsolo avatar Mar 02 '15 07:03 kjsolo

See this solution https://github.com/nostra13/Android-Universal-Image-Loader/issues/371

kjsolo avatar Mar 02 '15 08:03 kjsolo

Maybe enable UTF-8, or decode/encode :+1:

AizazZaidee avatar Apr 02 '15 09:04 AizazZaidee

@kjsolo thx, it works.

szitguy avatar May 23 '16 11:05 szitguy

i think that #1247 is a another workaround

zhEdward avatar Mar 08 '17 02:03 zhEdward