> -----Original Message-----
> From: Claude Schneegans [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 05, 2003 7:07 PM
> To: CF-Talk
> Subject: Re: Sending binary directly to the browser?
> 
> >>I doubt that zeros are the problem (unless zero converts to null in
> Base64) as zero is a value, not null.
> 
> No, there are no zeros in base64, since the purpose is to represent
any 8
> bit value within 6 bits regular character.
> BUT, when going back to binary, then you will find zeros again.
> Thus ToBinary( will return a binary bloc containing zeros, and
ToString(
> protests.
> This is definitely a bug in CF 5, since it is supposed to support
ASCII
> strings, and ASCII is a 256 character set,
> from 0 to 255.
> 
> >>perhaps you have to create your string in CF 5.0?
> 
> No, just cut'n pasted from your message.

I'm sorry - you misunderstood.  I meant that the original string was
encoded using CF 4.5 - and can be decoded properly.  Perhaps if you
encoded the file using 5.0 it would eliminate the problems decoding?

Jim Davis



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Reply via email to