Support Article

StringEscapeUtils is missing in Pega API



User complains that the StringEscapeUtils is missing in Pega API for Unicode Conversion for special characters.

Error Messages

Not Applicable

Steps to Reproduce

  1. Click Help.
  2. Open engine's API.
  3. Check for StringEscapeUtils.

Root Cause

User was expecting to see API documentation for StringEscapeUtils, however this function is not a Pega function but one provided by the Apache org.


Function is provided by the Apache commons library this is why this does not appear in Pega Help.

The function is available for use via a java step, example below:

message.putString("pyDescription", com.pega.apache.commons.lang.StringEscapeUtils.unescapeHtml(pageMessage));

User should access the help files for this function at the website.

Published February 7, 2017 - Updated February 15, 2017

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.