I tried on CF 5.0 and I still get the error:

An error occurred while evaluating the expression:
#ToString(ToBinary("R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="))#
Error near line 9, column 23.
This object cannot be converted to a string (it contains null characters).

(I had to comment out the <CFCONTENT tag to see the error message, otherwise
IE protests it "cannot get the page)

In fact, the toBinary function create the image in gif format, but since it contains 
zeros, it cannot be converted to a string.
Or am I missing something else?

My code is exactly (cut'n pasted from your message):
<cfsilent>
<cfsetting showdebugoutput="No" />
<CFCONTENT TYPE="text/plain">
</cfsilent><cfoutput>#ToString(ToBinary("R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="))#</cfoutput>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Reply via email to