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

originalfilename error code when originalfilename contain chinese #1082

Open
xumengmvp opened this issue Mar 30, 2022 · 2 comments
Open

originalfilename error code when originalfilename contain chinese #1082

xumengmvp opened this issue Mar 30, 2022 · 2 comments

Comments

@xumengmvp
Copy link

w�1990.jpeg

@xumengmvp xumengmvp changed the title originalfilename error code when original contain chinese originalfilename error code when originalfilename contain chinese Mar 30, 2022
@xumengmvp
Copy link
Author

{
fieldname: 'file',
originalname: 'w�1990.jpeg',
encoding: '7bit',
mimetype: 'image/jpeg',
destination: './upload',
filename: 'd93f5b48-e576-4f76-97e3-bd41bc3f7ef0.jpeg',
path: 'upload\d93f5b48-e576-4f76-97e3-bd41bc3f7ef0.jpeg',
size: 189400
}

@dotoritos-kim
Copy link

{
fieldname: 'media',
originalname: 'Tt �� 2022-05-22 130102.jpg',
encoding: '7bit',
mimetype: 'image/jpeg',
buffer: <Buffer ff d8 ff e0 00 10 4a 46 49 46 00 01 01 01 00 60 00 60 00 00 ff db 00 43 00 03 02 02 03 02 02 03 03 03 03 04 03 03 04 05 08 05 05 04 04 05 0a 07 07 06 ... 810242 more bytes>,
size: 810292
},

I also have the same problem

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

No branches or pull requests

3 participants