When using text with special characters and passing it as a parameter to getLocalizedText function, the special characters in the text returned by the function are replaced with decoded values.
Test text with "double quotes" -> becomes: Test text with "double quotes"
I've seen hotfixes solving this problem, but it was relevant only for pega 7
***Edited by Moderator: Pooja Gadige to add platform capability tag***
@Tanay Kumar Bal Hi
I'm using function in activity as a parameter passed to another activity and also without obvious function call.
For example, when I pass it directly to activity-call: "TextToBeLocalizedWith\t"+ "text with double quotes"
And same with the function: @Utilities.getLocalizedText(local.string, "pyCaption", tools), where local.string = "TextToBeLocalizedWith\t"+ "text with double quotes".
In both situations text is getting successfully localized, but passed special symbols like double quotes are getting replaced with decoded values.
Yes, I can always change control, which used in field value parameter, on the custom one, which return row string in every specific place, but it doesn't seem to be a objective solution.