________________________________
> Date: Wed, 26 May 2010 23:53:55 -0400
> From: [email protected]
> To: [email protected]
> Subject: Re: [iText-questions] Blank PDF after it is transfered through SMTP
>
> Michael,
>
> Your points are well-taken.
>
> Michael wrote:
>>This means that your quoted-printable encoder does not do a thorough
> job,
>
>>either because it is buggy or because you have not told it that the data
> to
>
>>encode is not text where a single carriage return, a single line feed,
> and a
>
>>carriage return line feed combination all mean the same.
>
> This is what I am suspecting as well. Strangely another pdf file (generated
> by JClass from Quest Software) does not have "inflated bytes" issue, although
> it went through exactly the same Java mail code I posted. I will dig further
> on it.
>
>
Did anyone see my earlier link? Unlikely doesn't mean "MUST"
and I can assure the PDF is not human readable without a special decoder ring or
PDF viewer LOL,
http://tools.ietf.org/rfc/rfc2045.txt
6.7. Quoted-Printable Content-Transfer-Encoding
The Quoted-Printable encoding is intended to represent data that
largely consists of octets that correspond to printable characters in
the US-ASCII character set. It encodes the data in such a way that
the resulting octets are unlikely to be modified by mail transport.
If the data being encoded are mostly US-ASCII text, the encoded form
of the data remains largely recognizable by humans.
If you keep reading,
Note that many implementations may elect to encode the
local representation of various content types directly
rather than converting to canonical form first,
encoding, and then converting back to local
representation. In particular, this may apply to plain
text material on systems that use newline conventions
other than a CRLF terminator sequence. Such an
implementation optimization is permissible, but only
when the combined canonicalization-encoding step is
equivalent to performing the three steps separately.
> Regards,
>
> Jiangang Song
>
_________________________________________________________________
Hotmail is redefining busy with tools for the New Busy. Get more from your
inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2
------------------------------------------------------------------------------
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions:
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/