unicode needs encoding since GTK3

svn: r19968
This commit is contained in:
Benny Malengier 2012-07-10 12:31:47 +00:00
parent 318c1def5a
commit 6955382107

View File

@ -1449,7 +1449,7 @@ class DbBsddb(DbBsddbRead, DbWriteBase, UpdateCallback):
if batch_transaction:
return
name = unicode(find_surname_name(person.handle,
person.get_primary_name().serialize()))
person.get_primary_name().serialize()), 'utf-8')
i = bisect.bisect(self.surname_list, name)
if 0 < i <= len(self.surname_list):
if self.surname_list[i-1] != name: