I have a result message and I’m getting binary image encoded in uuencode format in ZPD segment.I’m trying to convert it to base64 using tcl package. I first uudecode it and then encode it in base64. The receiving system when decodes it, gets a corrupt pdf. I tried to decode the uuencode binary and that also is a bad pdf. I checked uuencode specs and it says all lines begin with ‘M’. In the uuencode binary, I see “X0D\X0A” separating characters and there is M after that, I believe that new line indication.
e.g
644 WAV.DATX0D\X0AM)5!$1BTQ+C`*)>+CS]/H”B`@-2`P(T]B:CPE+U1Y