Initial commit of wolfgang61's patch refs #7660

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/branches/utf8-safe-str-7660@43400 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb