[twill] html entities and latin-1 problem

Titus Brown titus at caltech.edu
Thu Mar 9 14:28:20 PST 2006


On Thu, Mar 09, 2006 at 10:45:44PM +0100, gabor wrote:
-> Titus Brown wrote:
-> > 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?  
-> 
-> ok with switching to use-utf8-as-default?
-> i'm ok with that, the only problems i could imagine are possible 
-> backward-incompatibilities (for which i don't care :-))

There won't be many, if any -- unicode "support" is from the mechanize
merge that happened at 0.8.3.

--titus



More information about the twill mailing list