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

PDF View displays symbols instead of content

KCP-727

Summary

When the user clicks View PDF, the PDF view displays special characters instead of the content.This occurs for a few PDF files. However, when the PDF files are downloaded, the content displays correctly.

 

Error Messages

Not Applicable

 

Steps to Reproduce

  1. Log in to the Pega Platform.
  2. Add a PDF attachment to a case.
  3. Click the PDF to view.

 

Root Cause

A third-party product issue.

Special characters display when the PDF file extension is in upper case letters.Tomcat 7.0.88 does not have MIME type mapping for the .PDF file extention in web.xml . 

 

Resolution

Perform either of the following local changes:

1. Add the following MIME type in web.xml of the current Tomcat version.

 <mime-mapping>
<extension>PDF</extension>
<mime-type>application/pdf</mime-type>
</mime-mapping>

2. Restart the server.

Or, update Tomcat 7.0.88 (the current version) to Tomcat 8.x.

Published December 2, 2021

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