Answer the question
In order to leave comments, you need to log in
How to use unicode in rails filenames?
Hey! We rename files on the server with \u200B (zero-width space) appended to them.
And if you download this file via send_file, then this character is replaced by "-".
Attention, question:)
How to give files from the server, in the names of which there are such characters?
Answer the question
In order to leave comments, you need to log in
Well, set the desired title and you will have a normal file name for the download.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question