multer
multer copied to clipboard
Distortion of the Russian file name
When uploading a file, the Russian original file name is distorted
We have an open PR that fixes all the unicode issues in the lts version - https://github.com/expressjs/multer/pull/1210 You can ping the maintainers for speeding things up as well
Got the same issue. Ping)
We have an open PR that fixes all the unicode issues in the lts version - #1210 You can ping the maintainers for speeding things up as well
meanwhile you can use this
file.originalname = Buffer.from(file.originalname, 'ascii').toString('utf8' );
meanwhile you can use this
file.originalname = Buffer.from(file.originalname, 'ascii').toString('utf8' );
This works fine. Thank you for the advice 🙂