PACYCx / convert.py
toecm's picture
Deploy hybrid backend with SSR disabled
881ea9e
Raw
History Blame Contribute Delete
185 Bytes
import codecs
text = codecs.open('hf_files_june12.txt', 'r', 'utf-16le').read()
with codecs.open('hf_files_june12_utf8.txt', 'w', 'utf-8') as f:
f.write(text.replace('\ufeff', ''))