[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [saml-dev] DEFLATE Implementation in JAVA
I've already tried this as well ;(
-----Original Message-----
From: Greg Thompson [mailto:thompson@credentica.com]
Sent: Mittwoch, 12. April 2006 15:13
To: Lars Beekmann
Cc: saml-dev@lists.oasis-open.org
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
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]