Support Article

Excel file name displays junk values for Greek language



On clicking Export to Excel, the Excel file name displays junk characters for Russian and Greek (Cyrillic alphabet) languages.

Error Messages

Not Applicable

Steps to Reproduce

  1. Use a Russian filename and pass it as a parameter to the below Java code:

    String strFileName = getParameterValue("FileName");
  2. Run the activity. Verify the filename

Root Cause

An issue in the custom application code or rules.

The code did not encode the characters.


Perform the following local-change:

Replace the following line of code,

String strFileName = getParameterValue("FileName");


String strFileName = StringUtils.encodeURL(getParameterValue("FileName")).replace("+", " ");

Published January 29, 2019 — Updated May 18, 2019

Have a question? Get answers now.

Visit the Pega Support Community to ask questions, engage in discussions, and help others.