Hi Folks,
I'm trying to get the contents of an html file attachment using the function base64ToString. It provides me the output but has a special character "�" between all characters as below:
When I tried decoding the same input content bytes from https://www.base64decode.org/ it provided me the accurate output. Could anyone help to get the right output from power automate?
Thank you.
Hi @MarconettiMarco ,
Thank you for the response. I had already tried this, it will only replace first occurrence of the character. Using apply to each did not make much difference as well. I used get file content (OneDrive) to solve the issue.
Thank you.
Hi,
I used below workaround to solve the issue:
Thank you.
hello @rbn_nue ,
please use the following expression in a "Compose" action:
replace(outputs('Compose'),'�','')
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
BR,
Marco
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.