Thanks for reaching out on Microsoft Q&A!
Have you tried wrapping your variable in the binary() function, like this:
binary(variables('text'))
Logic Apps assumes all content is UTF-8, however your SFTP-server may not accept UTF-8 characters to be posted in the body. With the binary() function it will wrap your UTF-8 content in a byte array, which may solve your issue.
When you think my answer is helpful, please click "Accept answer" and upvote it. Feel free to drop additional queries in the comments.
The content of the file, here the code
Hi Carlos
I tried but could not reproduce your scenario. There is this issue: https://learn.microsoft.com/en-us/azure/logic-apps/support-non-unicode-character-encoding but I think it applies from messages sent to a trigger with a certain encoding.
@Bruno , yes my logic app generate his own content (sql query) so this article doesnt apply to my situation :(
What i need is a way to say to 'sendEmailv2' and 'sftp.create' the encoding it should use T-T
Sign in to comment