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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Is it possible to outp...
Power Automate
Unanswered

Is it possible to output UTF-16 LE encoded files or email attachments?

(0) ShareShare
ReportReport
Posted on by

Hi all,

 

First off, I am a beginner, so thank you for bearing with me. With that said, I have a cloud-based flow that:

  1. retrieves responses from an MS Form
  2. creates a CSV table from selected response data
  3. then I use compose actions to get the exact output style I need
  4. then I turn that compose output into a Send email (v2) attachment as a .txt file using this input:wards_ada_0-1706206317904.png

This text file goes to a mailbox to be imported into FileMaker Pro software that only handles UTF-16 LE encoded files. The problem is that the text file the flow creates is encoded UTF-8 and does not import properly into the software.

 

Does anyone know if there is anything I can do in the flow that would allow me to send this file with UTF-16 LE encoding to match output from the legacy form I am hoping to replace?

 

I have solved all my other problems with other flows by reading this community, so huge thank you to everyone who contributes!

Categories:
I have the same question (0)
  • lbendlin Profile Picture
    8,711 Super User 2026 Season 1 on at

    Does your original text have non-ANSI characters?  LE is basically just BOM followed by your character followed by zero , then next character, then zero etc. Unless you have actual UTF-8 encoded characters...

  • wards_ada Profile Picture
    on at

    I don't believe so, there does not appear to be any real reason that the legacy system was set up to use UTF-16 LE, but the CSV files are added to an ongoing database that has always utilized that encoding. When I tried importing the CSV file generated by Power Automate it displayed incorrectly in the software the users are working with, so that's why I started researching a way to get the encoding to match without having to manually download the file and convert it using another program before importing it.

  • lbendlin Profile Picture
    8,711 Super User 2026 Season 1 on at

    So give it a try.  Use the FFFE BOM, and then iterate through all the characters in your source text and write them to the output with a 00 in between

     

    The Unicode Standard, Version 15.0

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 796

#2
Valantis Profile Picture

Valantis 568

#3
Haque Profile Picture

Haque 538

Last 30 days Overall leaderboard