Index: main/waeup.kofa/trunk/src/waeup/kofa/utils/converters.py
===================================================================
--- main/waeup.kofa/trunk/src/waeup/kofa/utils/converters.py	(revision 16812)
+++ main/waeup.kofa/trunk/src/waeup/kofa/utils/converters.py	(revision 16818)
@@ -280,4 +280,5 @@
         new_data = dict()
         for key, val in data_dict.items():
+            val = val.strip()
             field = form_fields.get(key, None)
             if field is not None:
Index: main/waeup.kofa/trunk/src/waeup/kofa/utils/helpers.py
===================================================================
--- main/waeup.kofa/trunk/src/waeup/kofa/utils/helpers.py	(revision 16812)
+++ main/waeup.kofa/trunk/src/waeup/kofa/utils/helpers.py	(revision 16818)
@@ -770,5 +770,5 @@
     Returns line num of first illegal char or ``None``. Line nums
     start counting with 1 (not zero). Returns -1 if data contain
-    trailing whitespaces.
+    trailing whitespaces (deactivated).
     """
     linenum = 1
@@ -777,7 +777,7 @@
         for row in reader:
             linenum += 1
-            for value in row.values():
-                if value.endswith(' '):
-                    return -1
+            #for value in row.values():
+            #    if value.endswith(' '):
+            #        return -1
     except UnicodeDecodeError:
         return linenum
Index: main/waeup.kofa/trunk/src/waeup/kofa/utils/tests/test_converters.py
===================================================================
--- main/waeup.kofa/trunk/src/waeup/kofa/utils/tests/test_converters.py	(revision 16812)
+++ main/waeup.kofa/trunk/src/waeup/kofa/utils/tests/test_converters.py	(revision 16818)
@@ -200,5 +200,5 @@
         contact = Contact()
         contact.age = 33
-        input_data = dict(name='Rudi', age='99')
+        input_data = dict(name='  Rudi    ', age=' 99 ')
         converter = IObjectConverter(IContact)  # a converter to IContact
         err, inv_err, data = converter.fromStringDict(
@@ -283,5 +283,5 @@
     def test_textline(self):
         contact = Contact()
-        input_data = dict(name='Rudi')
+        input_data = dict(name=' Rudi     ')
         converter = IObjectConverter(IContact)  # a converter to IContact
         err, inv_err, data = converter.fromStringDict(
@@ -357,5 +357,5 @@
         # pass string ``contact`` instead of a real object
         err, inv_err, data = converter.fromStringDict(
-            dict(name='Gabi', age='23'), 'contact')
+            dict(name='  Gabi  ', age='23  '), 'contact')
         self.assertEqual(data['age'], 23)
         self.assertEqual(data['name'], u'Gabi')
Index: main/waeup.kofa/trunk/src/waeup/kofa/utils/tests/test_helpers.py
===================================================================
--- main/waeup.kofa/trunk/src/waeup/kofa/utils/tests/test_helpers.py	(revision 16812)
+++ main/waeup.kofa/trunk/src/waeup/kofa/utils/tests/test_helpers.py	(revision 16818)
@@ -545,5 +545,5 @@
             "FAC3,Fäcülty 3,school\n"
             ).splitlines()
-        self.assertEqual(helpers.check_csv_charset(csv), -1)
+        self.assertEqual(helpers.check_csv_charset(csv), None)
 
 class MemInfoTestCase(unittest.TestCase):
