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

Special symbols in the file names are replaced with ASCII values

SA-64786

Summary


When file with symbol (For example, dollar sign) in it's name is attached to the work object, the file name changes to include an ASCII value instead of the symbol. For example, $ becomes $24.


Error Messages



Not Applicable


Steps to Reproduce



Attach a file with a symbol (For example, dollar sign) in the file name.


Root Cause



An issue in the custom application code or rules. An encoded value was used to populate the file name when the file was attached.

Resolution



Perform the following local-change:
Decode the below string that was used for the file name before saving the attachment:

NameOfMyFile = StringUtils.decodeCrossOSString(NameOfMyFile);

 

 

Suggest Edit

Published February 20, 2019 - Updated October 8, 2020

Did you find this content helpful? Yes No

100% found this useful

Have a question? Get answers now.

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

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