Convert to unicode the string of predefined search field

DomainParser expect to work with unicode and gettext return string encoded in
utf-8 (coding of the po file)

issue3440
review1301002
This commit is contained in:
Cédric Krier committed 2013-10-27 19:25:31 +01:00
1 parent b44a40b4e5
commit 208a8c3255
1 file changed
+1 -1
+1 -1
View File
@@ -140,7 +140,7 @@ class Screen(SignalEvent):
):
if name not in fields:
fields[name] = {
'string': string,
'string': string.decode('utf-8'),
'name': name,
'type': type_,
}