I get following error when running pdflatex in TeXstudio: "Package inputenc Error: Unicode char \u8:� not set up for use with LaTeX. \end" on the last line of my document:
\printbibliography
\end{document} <- error comes here
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityI get following error when running pdflatex in TeXstudio: "Package inputenc Error: Unicode char \u8:� not set up for use with LaTeX. \end" on the last line of my document:
\printbibliography
\end{document} <- error comes here
I managed to fix this on my own.
The problem was that my .tex file used utf-8 encoding, but my .bib file used ANSI-encoding. The error presented itself, when I added a bibliography entry which contained an apostrophe. To fix this I converted the .bib file to utf-8 encoding with Notepad++ and removed the files produced by pdflatex (aux, .bbl, .bcf etc.) and then ran pdflatex again.