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 Automate / UTF-8 "%EF%BB%BF" incl...
Power Automate
Unanswered

UTF-8 "%EF%BB%BF" included in URL string causing errors...

(0) ShareShare
ReportReport
Posted on by 10

I recently started testing some processes in Power Automate Desktop and ran into an issue. I and looping through an excel file's data and launching Edge to add an attachment on a web page (API not available). The URL parameters will be based off of the excel file's contents & I used a python script to add leading zeros to one of the numbers because I didn't know of another way other than VBScript/JavaScript/Python/PowerShell. When the full string is compiled it looks good, but when used to launch the URL it adds "Parameter=%EF%BB%BF000000342563" which causes an error in loading the correct page. 

 

I can't figure out how to get rid of the "%EF%BB%BF" UTF-8 Byte order mark. I don't know if it's a bug when using python 2 with Power Automate but I'm lost. 

 

 

I have the same question (0)
  • BTJC99 Profile Picture
    23 on at

    I'm running into the same exact issue. I am looping through a list created from the action "read text from file". Then I use these variables to navigate to a web address. However, all of the variables in the list contain the utf-8 byte mark and I do not know how to remove them. Does anyone have a solution for this?

  • Community Power Platform Member Profile Picture
    on at

    Hi @BTJC99 , @Blakepd ,

     

    Have you tried escaping % with one more %%

    In PAD % is a reserved character.

    Example: 
    %EF%BB%BF --> %%EF%%BB%%BF

     

    Hope this helps 🙂

     

  • Blakepd Profile Picture
    10 on at

    I never found a solution using python, however I switched to Visual Basic doing the same thing and it seemed to work fine. Kind of frustrating but hey, gotta use what works.

  • BTJC99 Profile Picture
    23 on at

    Thanks for your tip. I tried using a Javascript function and it seems to work fine now. Must be some sort of bug in PAD for python. Hopefully they get that fixed. In the meantime I will continue to use Javascript.

  • peb9 Profile Picture
    2 on at

    for all who still running into this problem because it's not fixed by Microsoft: (fix this !!)

     

    You can solve this with an additional "text replace" step, just replace the UTF-8 BOM Character(\ufeff) with a empty string(%''%), works with regex:

     

    peb9_0-1694632778459.png

     

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard