So I have a PDF that I read the contents. I didnt make this PDF but I I get
in the text the following two escape characters:   \222  and \036

\222 seems to be the single quote (') and \036 seems to be something with
the letter (f)

These codes appear in several places however the Acrobat Reader displays it
correctly. Here is some partial examples.

*Example: 1
*.......  /Span <</MCID 947 >>BDC  /T1_1 1 Tf ( )Tj EMC  /Span <</MCID 948
>>BDC  -13.716 -1.6 Td [(complex of)-14(fers eight scaled-down ball *
\036elds* replicated from famous )]TJ EMC  /Span <</MCID 949 >>BDC  T*
..........


*Example 2:*
.......... /Span <</MCID 950 >>BDC  T* [(Y)110(ankee Stadium. And if *
you\222re* interested in *\036nding* ice in the middl\   ..........

The above line is *Yankee Statium, And if you're interested in finding ice
in the middl*


I thought these are supposed to be Ascii Octal codes but they don't match
ASCII. Is there a different way of decoding them?
Here is the coee I use to read.

*            PdfReader reader = new PdfReader(filein);
            byte[] streamBytes = reader.getPageContent(1);
            StringBuffer buf = new StringBuffer();
            String contentStream = new String(streamBytes);
*
Any idea what this is? Do I need to post the whole PDF?

Thanks
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to