Closed mks1948 closed 2 years ago
If there is a problem with this, the v15.0.0 change most likely to be related would be the busboy
dependency being updated to v1.
Package does not work correctly and after finish upload return some weird characters.
Can you please explain what happens more specifically? Where are the "weird characters".
After upload file for example "你好.jpeg" i got a name as "ä½ å¥½.jpeg"
What if you do:
console.log(Buffer.from(strangeName, "latin1").toString("utf-8"));
Does it log the right way?
Yup this log working correctly but i think that is not way to fix it in my code :)
Yes, you shouldn't need to do that when this bug is fixed.
This should be fixed in v16.0.1 🚀
Be sure to remove any Buffer.from(strangeName, "latin1").toString("utf-8")
workarounds before updating.
After update from 14.0 to 15 i saw that is problem with non latin characters. Package does not work correctly and after finish upload return some weird characters. Please test with file name as : 你好.jpeg , معطل.jpeg or similar.