Error in Uploaded File Preview when file names contain special characters

How to encounter an issue with file uploads where special characters, like ‘%’, in the file names are not being displayed correctly in the preview.

for example:
manav%mandli.pdf

preview:

I think opening an issue on github of frappe will be more effective to bring the right solution for this problem!

I had this issue on my side some time ago, but we are just ensuring that files never have special characters!

Okay, I will check the Frappe Git repository for this solution. Thank you for your response.