Question

4
Replies
491
Views
OZKANMECH Member since 2014 8 posts
Infosys
Posted: 3 years ago
Last activity: 3 years 4 months ago
Closed

Special Chars in XML and Portal

We are facing an issue with special characters such as +, ', & etc when communicating the message via XML to the external sytems. We are using JMS calls to send and receive the XML messages.

The above mentioned special chars are converted to HTML code in both in XML sent to target system and Portal view (on a pop up window where we read the message from our internal commlog table). The strange behaviour in Pega is that in one call the special chars are displayed fine but in another they are displayed as HTML codes. We are using the same configuration in both calls – JMS call, Property-Set-XML, Data Transform etc. the same text is displayed fine in one call (i.e.”Rue de l’Autonomie” , “ADSL+’, but not fine in another (i.e. “Rue de l'Autonomie” , “ADSL+”.

I have tried to play around with the special chars text by manually hard coding the values in the Data Transform and can see when for instance I am entering adslme+ it is showing the + char fine on the portal and XML, but when using adsl+ the + char is being converted to HTML code. What is the cause of this behaviour in Pega?

In XML Stream rules we are using standard mode for mapping.

How can we fix this issue? Can you please advise?

Thanks a lot in advance.

Ozkan

***Updated by moderator: Lochan to update Categories***

User Interface
Moderation Team has archived post
Share this page LinkedIn