def convert_sv_line(line):
 line = line.strip()
 line = line.replace('\xef\x80\xa0', '')
 line = ''.join((convert_sv_char(c) for c in line))
 line = line.replace('B3', ' ').replace('oA', '').replace('o', '').replace('\x00', '')
 return line

def convert_sv_line ( line ) : line = line . strip ( ) line = line . replace ( '\xef\x80\xa0' , '' ) line = '' . join ( ( convert_sv_char ( c ) for c in line ) ) line = line . replace ( 'B3' , ' ' ) . replace ( 'oA' , '' ) . replace ( 'o' , '' ) . replace ( '\x00' , '' ) return line
convert a single line of the garbled vote text .