Unable to download Git LFS file containing non-ASCII characters

Example Link:

https://huggingface.co/xiaozhangMJXXZ/chinese.lora.model.collation.FATE/resolve/main/%E6%BA%90%E8%B5%96%E5%85%89Raikou_Hard.safetensors

Error reported:

<Error>
<Code>InvalidArgument</Code>
<Message>Header value cannot be represented using ISO-8859-1.</Message>
<ArgumentName>response-content-disposition</ArgumentName>
<ArgumentValue>attachment; filename="源赖光Raikou_Hard.safetensors"</ArgumentValue>
<RequestId>APDQENRYKJM0CV0R</RequestId>
<HostId>J/SweIpZSPTuS7+ldA8gZ0vF/S8iuZ3P4wdgdT6lsnBgkDGOcQfTluAQflf2jOXEl9ShgMpAiqI=</HostId>
</Error>

Thanks for reporting this @Dividend9853, and sorry for the inconvenience. I was able to reproduce the issue; we’re going to take a look at it.

I’ll let you know once this is fixed, sometime next week I hope.

Hi @Dividend9853, it should be fixed now; thanks to @Kakulukian! :muscle:

1 Like