Re: Raw download and filename character code

2022-02-08 Thread Mads Kiilerich
Yes, now "メモ.txt" works for me too. /Mads On 2/8/22 14:58, toras wrote: Hello. I'm sorry, I should have given a concrete example. Thank you for creating the fix code. From the conclusion, I've confirmed that the fixed code downloaded the file correctly. I tried overwriting the fixed file

Re: Raw download and filename character code

2022-02-08 Thread toras
Hello. I'm sorry, I should have given a concrete example. Thank you for creating the fix code. From the conclusion, I've confirmed that the fixed code downloaded the file correctly. I tried overwriting the fixed file for kallithea installed by pip. The repository type I tried is git, and the

Re: Raw download and filename character code

2022-02-07 Thread Mads Kiilerich
Hi Thanks for the report. It took a while to reproduce. Many filenames work ok. An exact example would have been helpful. I reproduced the problem (or another similar one) on Linux with a Mercurial repository with a file created as   python -c 'open("\U0001f4a9", "w").write("\U0001f4a9")'

Raw download and filename character code

2022-02-07 Thread toras
Hello. In Kallithea 0.7.0, there was a problem when raw downloading the file in the repository from the web interface. It seems to be an error if the filename registered in the repository cannot be encoded with 'latin-1'. It's not a big issue, as you can work around the problem by cloning the