My Oracle Support Banner

PDF Reports Opened Using Notepad Shows Compressed/Junk Data (Doc ID 847657.1)

Last updated on OCTOBER 05, 2023

Applies to:

Oracle Reports Developer - Version 10.1.2.0.2 and later
Oracle Forms for OCI - Version 12.2.1.4.0 and later
Information in this document applies to any platform.
This problem can occur on any platform.

Symptoms

When attempting to open a PDF report generated by Reports Server using Notepad or WordPad, the contents between tags 'stream' and 'endstream' appear as junk, as they are compressed.

A simple report created with a boilerplate text "This is testing" should appear as:

stream
BT
166.52 671.72 TD
/F0 10.00 Tf
(this is testing) Tj
ET
endstream

Rather it appears in the following manner, which is actually the expected behavior:

stream
Garg^iT2gO1Xe-;;D9mce2'$]#]\hbdW[KD0Jq-40Mi$Hj5n];aiH#6!2>Y+if_NuFA7IN/7'r1
TM>K[RLX<;~>
endstream

At some circumstances, it becomes difficult to interpret these, as some applications built on JavaScript reads this PDF file to do some operation.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.