Just a small thing I found while adding more features to my spam-watcher. To
decode a base64 encoded string (as found in email for example), the following
code can be used:
ToString(ToBinary(string))
ToBinary() turns the base64 encoded string into ascii text. Unfortunately, CF
still thinks that this ascii text is a binary object, so the ToString() function
has to be used. This turns the ascii into ascii as CF wants to see it.
Just living up to my marketing tag-line. :)

Michael Dinowitz
Finding the technical solutions whether you need it or not

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Host with the leader in ColdFusion hosting. 
Voted #1 ColdFusion host by CF Developers. 
Offering shared and dedicated hosting options. 
www.cfxhosting.com/default.cfm?redirect=10481

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to