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 / Problem with accents
Power Apps
Unanswered

Problem with accents

(1) ShareShare
ReportReport
Posted on by 4

Hello comunity,

 

My issue is that when i use the Function replace doesn´t replace some characters properly. The characters are "á", "é" (and all vowels with accent), and the character "ñ". I dont know if exist some way to change the default charset or encoding that Flow use with that Function. I would appreciate a lot any help

 

Thank you in advance.

 

 

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

    Hi @cmellizo ,

    Could you please share a bit more about your issue?

    Do you use the Replace function within PowerApps to replace your characters, or use the replace function of WDL expression in Microsoft Flow to replace your characters?

     

    If you use the replace function of WDL expression in Microsoft Flow to replace your characters, I have made a test on my side, and don't have the issue that you mentioned. Please check the following workaround:8.JPG

    Set the Inputs field of the "Compose" action to following:

    áé+ñ

    Set the Inputs field of the "Compose 2" action to following (replace 'á' with 'K'):

    replace(outputs('Compose'),'á','K')

    The flow works successfully as below:9.JPG

    More details about using expression in flow actions, please check the following blog:

    https://flow.microsoft.com/en-us/blog/use-expressions-in-actions/

     

    If you use the Replace function within PowerApps to replace your characters, I have also made a test on my side, and don't have the issue that you mentioned. Please check the following workaround:10.JPG

    Set the Text property of the Label control to following:

    Replace(TextInput1.Text, 1, 1, "K")

    The standard Replace formula format as below:

    Replace( String, StartingPosition, NumberOfCharacters, NewString )

    More details about Replace function, please check the following article:

    Replace function

    In addition, you could also consider take a try to use Substitute() function to achieve your needs. Please set the Text property of the Label control to following:

    Substitute(TextInput1.Text, "á","K")

    The standard formula format as below:

    Substitute( String, OldString, NewString [, InstanceNumber ] )

     

    Best regards,

  • cmellizo Profile Picture
    4 on at

    Thank you for the reply Smiley Happy. I tested your solution but my problem is other. I am using the replace function of WDL, but my specific problem is : first i take the file content of a file in format rtf, inside this content i have special characters like "ñ".  And to use the replace function i must convert the file content from "Object" to string:

     

    Imagen2.png

    But after to do this conversion, something went wrong and all vowels with accent, displayed like this:

     

    Imagen3.png

     

     

  • MVP-Phipps Profile Picture
    3,508 Super User 2024 Season 1 on at
  • MVP-Phipps Profile Picture
    3,508 Super User 2024 Season 1 on at

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard