Article View: borland.public.cppbuilder.internet.web
Article #545Re: sending xml using TIdHTTP
From: hamid
Date: Wed, 15 Mar 2006 06:17
Date: Wed, 15 Mar 2006 06:17
2 lines
1562 bytes
1562 bytes
Of course. I posted my xml by filling the parameters of the Post method of TIdHTTP component line by line from <root> to </root>. Since the xml stream contains some special characters, the form of received xml differs from its source. I think it is because of encoding problem in post method. For example suppose the xml contains "<name> hamid + reza </name>" or any utf-8 characters. I hoped that by setting the header parameters of TIdHTTP I could direct the client to parse the content correctly. How can I solve the encoding problem of sending xml via post?
Technical Details
Message-ID:
<4417bf88$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<441519b5$1@newsgroups.borland.com> <44152ae8$1@newsgroups.borland.com> <4415306d$1@newsgroups.borland.com> <4415e49d$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,8fda7960f12a26ec X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit From: "hamid" <hrz_mir@yahoo.com> Sender: "hamid" <hrz_mir@yahoo.com> Reply-To: "hamid" <hrz_mir@yahoo.com> Subject: Re: sending xml using TIdHTTP Newsgroups: borland.public.cppbuilder.internet.web X-User-Info: 80.75.8.69 X-Forwarded-For: 172.16.1.5 References: <441519b5$1@newsgroups.borland.com> <44152ae8$1@newsgroups.borland.com> <4415306d$1@newsgroups.borland.com> <4415e49d$1@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <4417bf88$1@newsgroups.borland.com> Date: 14 Mar 2006 23:17:28 -0700 X-Trace: newsgroups.borland.com 1142407048 207.105.83.66 (14 Mar 2006 23:17:28 -0700) Lines: 3 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail