Skip to main content
Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

French characters in search bar

(0) ShareShare
ReportReport
Posted on by 6
Hi there, 
 
I have a search bar for a gallery of clients' names from a Sharepoint List. Since I am in Montreal, my clients have french characters in their names, but I'd like to be able to search without having to write the exact same way they do. 
 
For example, I'd like to look up "Deschênes" by typing "Deschenes" and vice-versa. 
 
The current formula I have in my gallery's items properties is this : 
SortByColumns(Filter([@'LISTE CLIENTS PROFESSIONNELS2']; TextSearchBox1.Text in Text(Title)); "Title"; If(SortDescending1; SortOrder.Descending; SortOrder.Ascending))
 
Is there a way to modify it to substitute the folowing characters ; é, è, ê, ë, à, ï, ù, ô ?
 
Much appreciated!! 
  • TB-08112305-0 Profile Picture
    6 on at
    French characters in search bar
    Hi @WarrenBelz
     
    Thanks! I did, but it gives me an error message too. No results are showing in the gallery and it's asking to revise the formula. 
  • WarrenBelz Profile Picture
    148,811 Most Valuable Professional on at
    French characters in search bar
    Did you try what I posted - works fine here when tested.
  • TB-08112305-0 Profile Picture
    6 on at
    French characters in search bar
    Thanks @Akira28 . I tried your code but sadly it didn't work, even when I replace the , to ;
  • Nirav Raval (Akira28) Profile Picture
    150 Super User 2025 Season 1 on at
    French characters in search bar
     
     
    Try the below code 🤞
     
     
    SortByColumns(
        Filter(
            [@'LISTE CLIENTS PROFESSIONNELS2'],
            TextSearchBox1.Text in Substitute(
                Substitute(
                    Substitute(
                        Substitute(
                            Substitute(
                                Substitute(
                                    Substitute(
                                        Substitute(
                                            Substitute(
                                                Text(Title),
                                                "é", "e"
                                            ),
                                            "è", "e"
                                        ),
                                        "ê", "e"
                                    ),
                                    "ë", "e"
                                ),
                                "à", "a"
                            ),
                            "ï", "i"
                        ),
                        "ù", "u"
                    ),
                    "ô", "o"
                )
            )
        ),
        "Title",
        If(SortDescending1, SortOrder.Descending, SortOrder.Ascending)
    )

    ​​​​​​​
     
     
     
    If this post solved your issue, clicking 'Does this answer your question' will help others discover the solution and close the topic. If you found it helpful, a Like would be awesome!


    Regards,
    Nirav J Raval (Akira28
     
  • TB-08112305-0 Profile Picture
    6 on at
    French characters in search bar
    ***RECTIFICATION***
     
    The current working formula is :
    SortByColumns(Filter([@'LISTE CLIENTS PROFESSIONNELS2']; TextSearchBox1.Text in Text(Title)); "Title"; If(SortDescending1; SortOrder.Descending; SortOrder.Ascending))
  • WarrenBelz Profile Picture
    148,811 Most Valuable Professional on at
    French characters in search bar
    Firstly the code
    SortByColumns(
       Filter(
          [@'LISTE CLIENTS PROFESSIONNELS2']; 
          TextSearchBox1.Text in 
          Substitute(
             Substitute(
                Substitute(
                   Substitute(
                      Text(Title); 
                      Char(233); 
                      "e"
                   ); 
                   Char(232); 
                   "e"
                ); 
                Char(234); 
                "e"
             ); 
             Char(224); 
             "a"
          )
       );
     
    "Title";
      If(
      SortDescending1;
      SortOrder.Descending;
      SortOrder.Ascending
      )
    );
    then the rest of the characters
    224 à   230 æ   236 ì   242 ò   249 ù
    225 á   231 ç   237 í   243 ó   250 ú
    226 â   232 è   238 î   244 ô   251 û
    227 ã   233 é   239 ï   245 õ   252 ü
    228 ä   234 ê   240 ð   246 ö   253 ý
    229 Ã¥   235 ë   241 ñ   248 ø      
     
    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
    MVP (Business Applications)     Visit my blog Practical Power Apps    Buy me a coffee

     
     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1