From bff8785a6083ed0348eababdcaa3b02b403df7cd Mon Sep 17 00:00:00 2001 From: helmutm Date: Tue, 23 Dec 2008 09:11:36 +0000 Subject: [PATCH] bug fix for grid field: convert values to unicode on unmarshall git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@3081 fd906abe-77d9-0310-91a1-e0d9ade77398 --- composer/schema/grid/field.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer/schema/grid/field.py b/composer/schema/grid/field.py index 72dde93..af359d5 100644 --- a/composer/schema/grid/field.py +++ b/composer/schema/grid/field.py @@ -86,7 +86,7 @@ class GridFieldInstance(ListFieldInstance): return dict(headers=headers, rows=rows) def unmarshall(self, value): - value = value.strip() + value = toUnicode(value.strip()) if not value: return [] result = []