Hi Sanyogita,
Try use the below function to remove special characters,
replaceAll($stringInput, '[^a-zA-Z0-9!\"#$%&()*+,.:;?@\\^_` -{|}~\f\n\r\t]', '')
If still same issue then try refer the below similar communication,
https://community.mendix.com/link/space/microflows/questions/127300
Hope it Helps!
Thanks & Regards,
Manikandan K
Then it is more a stack overflow question like this one: https://stackoverflow.com/questions/583562/json-character-encoding-is-utf-8-well-supported-by-browsers-or-should-i-use-nu
See also the JSON RFC on which characters need to be encoded: https://www.ietf.org/rfc/rfc4627.txt
Regards,
Ronald