Non-English Filename is broken When I send the file to server

Viewed 15

When using multer-s3, a .wav contain non-english filename is broken. "multer": "^1.4.5-lts.1", "multer-s3": "^2.10.0",

like this: á\x84\x91á\x85µá\x84\x8Bá\x85¡á\x84\x82á\x85©.wav

This issue is generated when frontend send non-english file to server. When server is received the file, the filename already is broken like á\x84\x91á\x85µá\x84\x8Bá\x85¡á\x84\x82á\x85©️.wav

What wrong with me ? is it server problem ? or client problem? I am using axios -> nestjs(multer s3 interceptor)

0 Answers
Related