cURL / Mailing Lists / curl-library / Single Mail

curl-library

Decoding text returned from an HTTP Post

From: Gross, Tim (Utility Computing Architect) <tim.gross_at_hp.com>
Date: Fri, 23 Oct 2009 15:21:47 +0000

Hi all,
I am posting a document to a webserver which returns some text which happens to be XML. It comes encoded to do things like replace double-quotes that are embedded in an XML attribute value with "&quot;" to preserve the validity of the XML. If I do the POST via a web browser, it replaces the "&quot;" string with a double quote so that it displays nicely. Is there any function or option in libcurl to do a similar replacement?
Thanks,
Tim.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-10-23