def METHOD_NAME(self, fname):
    "Try to convert from latin1 to utf8"
    with open(fname, encoding='latin1') as f:
        data = f.read()
    with open(fname, 'w', encoding='utf-8-sig', newline='') as f:
        f.write(data)
    print('Converted %s: WARNING: it may still be wrong' % fname)