[twill] html entities and latin-1 problem

Titus Brown titus at caltech.edu
Thu Mar 9 13:26:46 PST 2006


On Thu, Mar 09, 2006 at 09:57:45AM +0100, Michele Simionato wrote:
-> BTW, Gabor's fix changing "latin-1" to "utf-8" in
-> twill/other_packages/mechanize/_html.py/form_parser_args
-> solves the issue for me too.

heh, it solves some problems I had, too.

Googling about, I find:

	http://www.w3.org/TR/REC-html40/charset.html

which is confusing but probably correct, and

	http://www.alanwood.net/unicode/htmlunicode.html

which says "use UTF-8".

Is everyone OK with that?  I'll pass it up the chain to mechanize,
too...

cheers,
--titus



More information about the twill mailing list