Thanks & Regards
Sreenath
From: James Agnew [mailto:ja...@jamesagnew.ca]
Sent: 13 January 2014 21:03
To: g3949
Cc: hl7api-devel@lists.sourceforge.net
Subject: Re: [HAPI-devel] Decode ZPD-3.3 UUencode
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...@yahoo.com<mailto:g3...@yahoo.com>> 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
Hl7api-devel@lists.sourceforge.net<mailto:Hl7api-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/hl7api-devel
MASTEK LTD.
In the US, we're called MAJESCOMASTEK
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that of
Mastek Limited, unless specifically indicated to that effect. Mastek Limited
does not accept any responsibility or liability for it. This e-mail and
attachments (if any) transmitted with it are confidential and/or privileged and
solely for the use of the intended person or entity to which it is addressed.
Any review, re-transmission, dissemination or other use of or taking of any
action in reliance upon this information by persons or entities other than the
intended recipient is prohibited. This e-mail and its attachments have been
scanned for the presence of computer viruses. It is the responsibility of the
recipient to run the virus check on e-mails and attachments before opening
them. If you have received this e-mail in error, kindly delete this e-mail from
desktop and server.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
------------------------------------------------------------------------------
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
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel