defnull/bottle — pull request #344 by asypost (2012-06-25 13:00:44+00:00)
Title: Python 3 class FormsDict utf-8 issue

In Python 3 the default encoding is utf-8, so str.encoding("latin1") causes exception.I think using str.encode(sys.getdefaultencoding()) is a more safe way.