cancel
Showing results for 
Search instead for 
Did you mean: 

Special characters in an element in payload

ramu_g4
Participant
0 Kudos

Hi Experts,

One of the element in the payload received to PI contains special characters such as "" when downloaded from PI. But when the same payload in notepad++ with UTF-8 then same "" are appearing as " value as shown below:

PI payload snippet:

Notepad++ payload snippet:

We are removing manually these characters & re-sending. Please let me know any UDF/Java mapping can do this in PI to remove them.

Thanks,

Ramu.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member190996
Participant

Hi Ramu,

I had the same issue and used the below UDF to replace the special characters. You can use this in all the mappings where you are expecting the special characters. Also, test this in a java class with payload that you are having issues.

Regards.