I have my whole latex document which is encoded in latin-1. Also, the documentclass provided by my institution is designed to use latin-1. I write in french.
I wish to use .bib files created by Mendeley which are encoded in UTF-8. When I try to compile, latex gives me an error :
inputenc: Keyboard character used is undefined(inputenc) in inputencoding `latin1'.
Is there a way to convert the encoding on the fly with a simple command? Here is my setup :
Mendeley to export my .bib
It's just a matter of changing the encoding since if I simply copy the content of the .bib file in a new file (with the right encoding setup in TexStudio), everything works fine. I don't want to do that since it breaks my workflow. I'm thinking of something like a command to add before the execution of pdflatex.