From: James A. <ja...@ja...> - 2014-01-13 15:33:48
|
Hi GGK, I've never seen anyone use UUEncoding inside an HL7 message (Base64 is the way I've generally seen people solve this problem) but it should be possible. Your problem is definitely that the first line of a UUEncoded string needs to be in the form begin <mode> <filename><newline> You have all of that in your string except the newline. That may be what the string "x0Dx" is representing.. You would need to convert that to a newline, but also be careful since that string could also appear in the UUEncoded text. James On Mon, Jan 13, 2014 at 3:14 AM, g3949 <g3...@ya...> wrote: > Now I have the Problem, do decode a ZPD-3.3 Segement which is UUDecoded. > > Example: > ZPD|1|PDF|14627^20675^begin 644 > pdf1.pdfx0Dx0A\M)5!$1BTQ+C,-"B7BX\E_3#0H-"C.... end > > Decode the segement, I alway get the Errof: > > sun.misc.CEFormatException: UUDecoder: No begin line. > > > Does anybody hab som Ideas? > > GGK > > > ------------------------------------------------------------------------------ > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > _______________________________________________ > Hl7api-devel mailing list > Hl7...@li... > https://lists.sourceforge.net/lists/listinfo/hl7api-devel > > |