Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with uploading a file with persian names #378

Open
faandogh opened this issue Sep 9, 2024 · 1 comment
Open

problem with uploading a file with persian names #378

faandogh opened this issue Sep 9, 2024 · 1 comment

Comments

@faandogh
Copy link

faandogh commented Sep 9, 2024

I am trying to upload a file with Persian name and store it in a folder and show it in a table in my software.
it is a simple software that I write it in python and with flask library.
after that I field the boxes that are essential for uploading the file, and pressing the upload button , when I click on the file link in table it open the download page and I can not view the uploaded file and it does not store the file in the specified folder.
for example I am trying to upload :
نمونه.jpg
in the table I see just jpg and and when I click on it does not show the file.
but I can correctly files with English name.
how can I solve this problem?

@liangshihlin-leapin
Copy link

Hey try this

import fileupload from 'express-fileupload';

app.use(
  fileupload({
    defParamCharset: 'utf8',
  }),
);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants