Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Text containing apostrophe symbols displayed incorrectly



Pega 7.1.8 is updated to Pega 7.3.1.
Post update, special characters replace the apostrophe symbols in field value text.

Error Messages

Not Applicable

Steps to Reproduce

  1. Create field values with apostrophe symbols in Pega 7.1.8.
  2. Install a Product Rule in Pega 7.3.1.
  3. Open the field values.

Root Cause

A software use or operation error.
The field values were corrupted during the update process.


Perform the following local-change:

Execute the below activity to correct the corrupted values.
  1. Perform an Obj-Browse on the Step page and pass the ObjClass as Rule-Obj-FieldValue. Search for values containing ''' from the Pega Ruleset.

  2. Add a loop as 'For each embedded page' of the 'Rule-Obj-FieldValue' class on the step page's result page.

  3. Add Java code as below where the special characters are replaced by " ' ".

    ClipboardPage stepPage = tools.getStepPage();
    String localizedValue = stepPage.getString(“pyLocalizedValue”);
    stepPage.putString(“pyLocalizedValue”, localizedValue.replaceAll(“'”, “’”));

  4. Commit the changes.

  5. Backup the database.
  6. Unlock the ruleset which has these field values.
  7. Run the activity.


Published March 24, 2019 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us