Skip to main content

Notifications

Power Automate - General Discussion
Unanswered

strip out non utf-8 characters from string

(0) ShareShare
ReportReport
Posted on 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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,495

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,822

Leaderboard