41
41
#-------------------------------------------------------------------------
42
42
from ..const import GRAMPS_LOCALE as glocale
43
43
_ = glocale.translation.gettext
44
from ..constfunc import conv_to_unicode, conv_to_unicode_direct, UNITYPE, STRTYPE
46
46
#strings in database are utf-8
47
47
conv_dbstr_to_unicode = lambda x: conv_to_unicode(x, 'UTF-8')