I'm struggling with wrong encoded multipart form filenames uploaded to a nodejs backend.
Running the node application locally works as expected and the filenames arrive with propert utf-8 encoding. As soon as i run the application in a docker environment the backend receives scrambled filenames.
I'm using the express-fileupload
package.
JSON Content in the same request is properly encoded..
Backend:
router.post('/upload', async (req: any, res) => {
let formDataFiles = req.files;
});
http response header seems correct as well: content-type application/json; charset=utf-8
I'm not sure where to look. Where does nodejs take the encoding from?