[Tex/LaTex] how to solve a Unicode char’ (U+301) error

errorsinput-encodingsunicode

I have a problem within ShareLaTex. I copied a reference from biblatex and pasted it into my bib file and the ignored command is

author={Ran{\v{n}}ik, Jk{\v{r}}{\n}́}

which should generate

 not this: {Ran{\v{n}}ik, Jk{\v{r}}{\n}́}

I get the following error message:

Unicode char' (U+301)

I add references to my bib file with ~ signs or accents.

Best Answer

Just type in the name using UTF-8 characters:

\begin{filecontents*}{\jobname.bib}
@article{test,
  author={Ranňik, Jkří},
  title={Title},
  journal={Journal},
  year={2016},
}
\end{filecontents*}

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{biblatex}
\addbibresource{\jobname.bib}
\begin{document}
\cite{test}
\printbibliography
\end{document}

enter image description here