web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / SFTP connector and spe...
Power Automate
Unanswered

SFTP connector and special characters in csv file

(2) ShareShare
ReportReport
Posted on by

Hi!

 

I have encountered an issue when files are copied with the SFTP connector from a sharepoint site to a SFTP server with special characters in csv files. It seems this has started suddenly from somewhere around end of March 2019. At least one special character it changes is á to Ã¯Â¿Â½ instead.

This same flow also moves the file from one place to another after the SFTP connector on the sharepoint site and the file is ok when that is done.

 

Here is the flow:

 

2019-05-06 14_57_01-Edit your flow _ Microsoft Flow.png

 

Thanks in advance for any help!

Categories:
I have the same question (0)
  • v-lin-msft Profile Picture
    728 on at

    Hi @Anonymous,

     

    Depending on what you type, it should be French, if your expected character is á, please type á instead.

     

    This link is UTF-8 Encoding Debugging Chart as below:

    https://www.i18nqa.com/debug/utf8-debug.html

     

    If you still have problem, I advise you to do nothing but wait for this file to be cleared or to resubmit request to restart the flow.

     

    I hope it can help you.

     

    Best Regards,

    Community Support Team _ Lin Tu

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Community Power Platform Member Profile Picture
    on at

    Hi @v-lin-msft ,

     

    I can unfortunately not change what is coming out of the source system, it comes in the csv file as e.g. á or Ã¸.

     

    Why is the SFTP connector changing the character when it runs?

  • v-lin-msft Profile Picture
    728 on at

    Hi @Anonymous,

     

    Perhaps utf-8 does not support the conversion of French vowels in CSV file format. You may could to try other methods, such as changing connetor in other file format to store your data.

     

    Best Regards,

    Community Support Team _ Lin Tu

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • oznat Profile Picture
    11 on at

    Same problem here. The SFTP connector seems to be misinterpreting the encoding of the CSV which should be UTF-8 in this case. Because of the wrong encoding being applied by the connector, the file then loses special characters such as ø. Works fine if we force the encoding in the JSON to UTF-8, but then the web interface in Power Automate isn't happy.

    oznat_0-1691975877297.png

    To avoid losing special characters, it would be excellent if the SFTP connector in Power Automate could allow users to specify which character set should be used for the CSV.

     

  • Chriddle Profile Picture
    8,436 Super User 2025 Season 2 on at

    Does the file content contain a Byte Order Mark?

    https://powerusers.microsoft.com/t5/General-Power-Automate/wrong-caracter-from-CSV-to-sharepoint-list/td-p/2002511

     

  • oznat Profile Picture
    11 on at

    There is no Byte Order Mark in the CSV. We have tried including a BOM with the expression concat(decodeUriComponent('%EF%BB%BF') however the issue is with the SFTP SSH connector and its 'Get' actions. Viewing the details of the flow run, when opening the input results for the CSV file from the SFTP connection it has already replaced characters such as ø with �. The decode expression just changes the � into �

  • Chriddle Profile Picture
    8,436 Super User 2025 Season 2 on at

    Can you provide your CSV file?

  • oznat Profile Picture
    11 on at

    I made a sample file for testing purposes (actual file contains personal details) but csv is not a supported file type for me to attach here. Only  jpg, gif, png, pdf, zip, doc, docx, ppt, ics, xlsx, xlsm, msapp, pbix, pptx are supported. How would you like me to get the sample file to you?

  • Chriddle Profile Picture
    8,436 Super User 2025 Season 2 on at

    Just zip it.

  • oznat Profile Picture
    11 on at

    Oh duh thanks. Here's the zipped sample file for testing purposes generated directly by the same source system.

     

    The CSV is in an FTP and we need to use the SFTP connector to get the file without it losing the special characters.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard