>Why is it that I STILL cannot use CFHTTP to get the UPS license text 
>with MX 7? All special characters (eacute, etc.) are corrupt. I have 
>to rely on MSXML and I'd rather just use CFHTTP. I've tried the 
>charset attribute to no avail.

I did some work with this not long ago and it definitely is a bit of a pain to 
get working. You do need to specify the charset in your cfhttp tag 
(ISO-8859-1). Passing the text of the license from page to page in a form field 
also tended to mess things up, so I copied it into a session variable and then 
read it out of there when needed which worked a lot better. It was also 
important when sending it back to the UPS server, to wrap the license text in 
an XMLFormat() and to include the charset in the header:

<cfhttpparam type="HEADER" name="Content-Type" value="text/xml; 
charset=iso-8859-1">

HTH 

--------------------
Mary Jo Sminkey
http://www.cfwebstore.com
CFWebstore, ColdFusion E-commerce

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246635
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to