From: Raghavendra G Hegde <raghavendra@te...> - 2004-11-17 16:00:44
I am facing a problem due to an incorrect mapping of few characters to HTML character set.
I am sending a POST request with a parameter "course" set to "BEComps"
I have done it in the following way.
test_name =>"Posting the data..",
url => $URL."search/search.php",
method => POST,
params => [
Now, When I have captured the data through ethereal (while the script is posting the data),
I have found that the square brackets did not get mapped to HTML character set. i.e.. %5B abd %5D
They were sent as it is. (Ethereal also was showing ...&course=BEComp&...)
If I use the browser (Netscape/IE) to post the same data, these characters  get
mapped to those (%5B %5D) HTML characters-set properly.
If any body has come across similar problem, please help me.
OR If some one know which library file is responsible for this (for encoding to HTML character set),
I would try to help my self.
Thanks & Regards