On Tue, 29 Aug 2006, Lee Jones wrote:
> File "build/bdist.linux-i686/egg/ClientForm.py", line 691, in do_input
> ParseError: start of INPUT before start of FORM
Isn't there somebody out there who cares about HTML and would like to do a
nice job of fixing this set of problems? I guess not :-(
> I have manually parsed the html page in question and there are no problems
> with it, which is why I believe its me not doing something right, the code I
When you say you "manually parsed" the HTML, what precisely do you mean?
> have is as follows:
> from mechanize import Browser
> browser = Browser()
> browser.default_encoding = "UTF-8"
> browser.open("https://myurl.myurl.com?%s"%postString)##postString is utf-8
The value of Browser.default_encoding does not affect the server's
interpretation of your post data. Otherwise, what you wrote is fine.