Re: manage_addField patch
Bertrand Croq <bertrand.croq-i1BwEb4NmXRWk0Htik3J/[email protected]> Fri, 21 Jan 2005 10:48:38 +0100
| Newsgroups | gmane.comp.web.zope.formulator.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Jan 20, 2005 at 05:03:21PM +0100, Clemens Robbenhaar wrote: > Thank You very much for the patch. Could You please add a little detai= l > about the problem, especially how to reproduce it? The problem occures when using non-ASCII chars in field's title.=20 To reproduce it on the CVS sources: - create a "Formulator Form" with "Unicode mode" activated - create a new field in this form with id=3Dfoo title=3Db=E2r (ie. with a= ny non-ASCII char in the title) then click "Add and Edit" - click on "Save Changes" without making any change Error Type: UnicodeDecodeError Error Value: 'ascii' codec can't decode byte 0xc3 in position 1: ordinal = not in range(128) Applying the patch doesn't fix already created fields, but fixes the problem for new fields. --=20 Bertrand Croq - FreesKop - Avenue Robert Schuman - 35170 BRUZ http://www.freeskop.com/ - Tel: 02 99 05 04 56 - Fax: 02 99 05 96 40