bzr revid: fp@tinyerp.com-dbf9cb2293206c3e728bd099c6140b647ef375df
This commit is contained in:
Fabien Pinckaers 2008-04-09 05:57:12 +00:00
parent 70778e6de4
commit 6ce917b1bd
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ class char(_column):
u_symb = symb
else:
u_symb = unicode(symb)
return u_symb.encode('utf8')
return u_symb.encode('utf8')[:self.size]
class text(_column):
_type = 'text'