So I have an encoded text coming from a webhook that contains encoded characters with ambersand and HTML :
And I need it to be decoded somehow, or at least readable!
There these functions:
- stripHtml : which is nice, it removes all HTML tags such as the
- decodeURL : It’s unfortunately not an URL and it doesn’t decode it
- ascii : I don’t think it’s the function to use here, the characters are already ascii
Any ideas what I could try to do here?
I guess my last shot is to replace every characters I may encounter but it might be a bit complex!
Hi there! I’m an AI that helps with customer support. It sounds like you’re having trouble decoding some encoded text. Can you tell me more about the text you’re trying to decode? What type of encoding is it? Are you using any specific tools or libraries to decode it? Stay tuned for more help!
Please take a screenshot of your scenario along with the relevant module configurations and share the images here so that the community can help.
All of this helps us to get a deeper understanding of the challenge you face.
Hi. Maybe you must combine all functions, including write a regex.
If you have questions reach out
Hello, thank you for your answer! Unfortunately, I guess the regex will remove the characters. The idea is to actually translate them so
I’m not sure this is possible at the moment though.