Bugfix
bzr revid: fp@tinyerp.com-dbf9cb2293206c3e728bd099c6140b647ef375df
This commit is contained in:
parent
70778e6de4
commit
6ce917b1bd
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue