diff --git a/gramps/src/GenericFilter.py b/gramps/src/GenericFilter.py index bb4f9f6ce..18d872ca6 100644 --- a/gramps/src/GenericFilter.py +++ b/gramps/src/GenericFilter.py @@ -755,11 +755,13 @@ class FilterParser(handler.ContentHandler): pass self.gfilter_list.add(self.f) elif tag == "rule": - name = _(u2l(attrs['class'])) + c = attrs['class'] + name = _(u2l(c)) self.a = [] self.cname = tasks[name] elif tag == "arg": - self.a.append(u2l(attrs['value'])) + c = attrs['value'] + self.a.append(u2l(c)) def endElement(self,tag): if tag == "rule": diff --git a/gramps/src/latin_ansel.py b/gramps/src/latin_ansel.py index 75d7c3b0e..97dea5e16 100644 --- a/gramps/src/latin_ansel.py +++ b/gramps/src/latin_ansel.py @@ -66,7 +66,7 @@ _t1 = { _s0 = { 0xCF : 0xDF, 0xA4 : 0xDE, 0xB4 : 0xFE, 0xA2 : 0xD8, 0xC0 : 0xB0, - 0xB3 : 0xF8, 0xA5 : 0xC6, 0xB5 : 0xE6, 0xBA : 0xF0 } + 0xB3 : 0xF8, 0xA5 : 0xC6, 0xB5 : 0xE6, 0xBA : 0xF0, 0xB2 : 0xF8 } _t0 = { 0xDF : chr(0xCF), 0xDE : chr(0xA4), 0xFE : chr(0xB4),