Skip to main content

Notifications

Community site session details

Community site session details

Session Id : MjZO+Ijhc/xQQydLbUgdSi
Power Automate - General Discussion
Unanswered

strip out non utf-8 characters from string

Like (0) ShareShare
ReportReport
Posted on 8 Aug 2023 08:19:15 by 80

I'm using the Get emails (V3) action to fetch Outlook emails to clean them up before storing them to a blob container. GeV3 returns a json representation of the email and one of the keys "body" contains the contents of the email. how can I remove non utf-8 characters from strings in power automate? the email body in some of the emails contain emojis and I want to strip them out before saving them to blob storage. Some of the files are giving my python app grief when I try to load them. When I paste the json string into a validator, it checks out, but for some reason the python is choking. 

 

Any suggestions greatly appreciated.

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

Thomas Rice – Community Spotlight

We are honored to recognize Thomas Rice as our March 2025 Community…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,508 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,369 Most Valuable Professional

Leaderboard
Loading complete