I have a long text file which uses apparently different encodings in subsequent blocks of text (iso or utf-8). It is the result of appending text using >> file.bib
and copy and paste from different sources (webpages).
The blocks can in principle be distinguished as they are bibtex
entries
@article{key, author={lastname, firstname}, ...}
I would like to convert it to a coherent utf-8 file since it seems to crash my bibtex viewer (kbibtex). I know that I can use iconv
to convert the encoding of entire files, but I would like to know if there is a way to fix my file without corrupting some of the entries.