URL encoding "+" character
<p>I have an application where the users can upload files. So filenames can contain characters like <strong>+</strong>. I do not want to change the filenames and eliminate these chars.<br>
Other users can download these files. I implemented this by creating a form with a link (action) to the file and open it in a new tab.<br>
For simple filenames this works, e.g. <strong>filename.docx</strong>. But for e.g. <strong>filename+suffix.docx</strong> I receive a file not found error (because of the <strong>+</strong>).<br>
I have already used <code>encodeURIComponent("filename+suffix.docx")</code> but it did not work.  </p>

<p>Any suggestions? Thanks in advance. </p>