Skip to main content

Hi,

I currently have a zap trigger by a webhook. In the response, some characters turn into unicode characters.

For example < turns into \u003c and > turns into \u003e.

Is there a way to decode or unescape these unicode entities? E.g. like in this tool.

I played around with the Formatter, but no luck.

 

EDIT: Sample text

the second piece of code after the \u003cbody\u003e tag is \u003cdiv id=\"app\"\u003e but after

Hey @Tomas Vemola,

Welcome to the Community! 

This may not be an ideal workaround if there’s lots of characters that are converted but if it’s just the < and > characters that are affected you could use a couple of Formatter > Text > Replace steps. 

One to find all instances of \u003c and replace it with <. And another one to replace \u003e with >. You can find out more about how to use Formatter steps to replace text here: Find, replace, or split special characters
 

Hope that helps! :)