def decode(self, input, errors='strict'):
    return codecs.charmap_decode(input, errors, decoding_table)
def decode(self, input, errors='strict'):
    return codecs.charmap_decode(input, errors, decoding_table)