Kbase P129640: Sending PDF files via email as base64 encoded attachments = corrupted PDF files
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/14/2008 |
|
Status: Unverified
FACT(s) (Environment):
Progress 9.1x
All Supported Operating Systems
SYMPTOM(s):
Sending PDF files as attachments to email messages
When PDF file attachments are opened the PDF files are corrupt
PDF files are not corrupt when opened prior to being emailed
Using ABL based program to base64 encode PDF file prior to attaching to email
CAUSE:
The base64 encode routine (downloaded from a free framework site) is incorrectly translating linefeed characters into carriage return + linefeed characters
FIX:
Modify ABL program to ensure that linefeed characters are not converted into carriage return + linefeed characters