GIF not loaded when the file path includes Korean name
- Dominant language
- Java
- Stars
- 35k
- Forks
- 6.2k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 8
Description
**Glide Version**: 4.9.0
**Integration libraries**: Many. But it have no relation with this issue.
**Device/Android Version**: Galaxy S10 / Android 9.0 (SDK 28)
**Issue details / Repro steps / Use case background**:
I'm making chat app that can send the GIF file. I used some GIF files downloaded from website to test for sending image file ordinarily and I found the problem that the picture file named Korean(다운로드.gif) is not played well. It looks like bitmap because it show the first frame only. I did also test English(download.gif), Japanese(ダウンロード.gif) and Chinese(下载.gif) name and it worked well. In addition, I set the option "asGif" when load picture into ImageView and it worked well.
**Not work:**
```java
Glide.with(context).load(imageFile).into(img_preview);
```
**Work:**
```java
if (ext.equals("gif"))
Glide.with(context).asGif().load(imageFile).into(img_preview);
else
Glide.with(context).load(imageFile).into(img_preview);
```
Contributor guide
Assessment
This issue has not been assessed yet.