Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I am creating a multipart request and using it in the Http Body field in the component
I have the following case where the filename has an umlaut character in it:
Content-Disposition: form-data; name="attachment"; filename="BDP SBA für Q1 2021 pt1.jpg"
Up until the tRest component the request body is logged correctly
In my server the request is showed as:
Content-Disposition: form-data; name="attachment"; filename="BDP SBA für Q1 2021 pt1.jpg"
Found the solution!
I set the value of the field filename like this:
filename = MimeUtility.encodeText(filename , null, "Q");
Loaded the javax.mail library using tLibraryLoad
You appear to be setting the charset correctly. Is the encoding on your server set to UTF-8? also, are you running this job on that server or simply sending the file to that server?
Found the solution!
I set the value of the field filename like this:
filename = MimeUtility.encodeText(filename , null, "Q");
Loaded the javax.mail library using tLibraryLoad
Thank you for your help, I was just sending the file to the server and I think the encoding was set to UTF 8