I've already tried this as well ;(
-----Original Message-----
From: Greg Thompson [mailto:]
Sent: Mittwoch, 12. April 2006 15:13
To: Lars Beekmann
Cc:
Subject: Re: [saml-dev] DEFLATE Implementation in JAVA
Lars Beekmann wrote:
> String deflated = byteArrayOutputStream.toString("UTF-8");
Hi Lars. DeflaterOutputStream compresses into binary data, not into a
UTF-8 encoding, so the above isn't what you want. You need to run
byteArrayOutputStream.toByteArray() through a Base64 encoder (RFC 2045).
--
Greg Thompson
Credentica