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 Apps / Converting accented ch...
Power Apps
Unanswered

Converting accented characters

(0) ShareShare
ReportReport
Posted on by 2
So, correct me if I'm wrong, but I couldn't find any way to convert accented characters other than humongous pieces of code and formulas that 90% of the time just don't work?
In MS SQL I can use TRANSLATE. But in Dataverse, everything that I find is to use Power Automate, or use substitute (which never works).

Thanks for the help.
I have the same question (0)
  • Suggested answer
    Mark Nanneman Profile Picture
    991 Super User 2025 Season 2 on at
    It is annoying that Power Automate doesn't have a function to convert strings to HTML friendly text.

    In Power Automate I liked to use Fetch XML queries (as opposed to OData filters) to filter Dataverse rows that might have a single quote ( ' ) in the name.  It will unfortunately still break if there are certain other reserved characters (like say an ampersand or a double quote).  For those I use a couple replace actions to convert them to HTML entity equivalents.

    Basically a formual like this works 99% of the time:
    replace(
        replace(
          replace(
            replace(triggerBody()?['text'], '&', '&'),
            '<', '&lt;'
          ),
          '>', '&gt;'
        ),
        '"', '&quot;'
    )
     
     
    You can create your Fetch XML search by opening the table in question in a Model Driven App and clicking "Edit filters"

    Then write something like this (I put a placeholder in {{ just so it's easier to find in the final XML).
     
    Click "Download FetchXML and open it in a notepad, then copy and paste it in your flow.
     
    Replace the placeholder variable with a dynamic reference.  Here I just drop in a compose action that does the replace functions for ampersands etc.
    Example, searching for A&W
     
    Hope that helps!
  • Suggested answer
    CU20121206-0 Profile Picture
    2 on at
    @Mark Nanneman

    I ended up finding this little solution here:
    Solved: Re: Convert names to email address - Power Platform Community

    But thanks for the tips, man.

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard