cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Converting from unicode to utf-8

Hi all,

 

I have a task - need to convert data in string variable with specific symbols to string variable in utf-8.

I have:

'something-like-āģņ'

Need to be converted to:

'something-like-agn'

I have checked https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference and tried to find similar problems in internet, but without success.

Is there there a function or a way to achieve that?

 

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Converting from unicode to utf-8

Hi @Igors,

 

It seems that there is no available function can be used to convert a string variable with specific symbols to string variable in utf-8.

If you need this feature, please consider submitting your idea on Flow Ideas Forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
New Member

Re: Converting from unicode to utf-8

Hi @v-yamao-msft,

 

Thanks for clarification on existing function.

 

So maybe there is a nice workaround on how to solve this task?

My idea was to go thrue each symbol, compare if it is "special" (luckily there are only 11 possible cases) and replace with proper one. But then I have problem on - how to get array from string, where each string element is a separate array ellement.

I have:

"abcde"

I want:

[a], [b], [c], [d], [e]

Any ideas?

Helpful resources

Announcements
firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (7,007)