translation parsing problem, ansel decoding
svn: r957
This commit is contained in:
parent
7b908fac78
commit
14d8707ac3
@ -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":
|
||||
|
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user