# how to solve a Unicode char' (U+301) error?

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

I get the following error message:

Unicode char' (U+301)


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

• U+0301 is a combining accent, it is best to enter accented commands as single characters or as tex markup \'{e} rather than e followed by a unicode combining acute – David Carlisle Sep 12 '16 at 18:11
• I copy reference from bibatex and paste it in my bib file and the command is ignored author={Ran{\v{n}}ik, Jk{\v{r}}{\n}́ – John Sep 12 '16 at 18:26
• The ́ character is the obvious culprit. Retype the name using proper encoding. Moreover \n makes no sense. If I google for Ranňik I get nothing – egreg Sep 12 '16 at 19:14
• It's quite obvious that you should at least use i if you want an accented i. But if you're using biblatex, why not simply Ranňik Jkrí? – egreg Sep 14 '16 at 18:08
• Also relevant: Input encoding error after upgrading from Biber 1.9 to Biber 2.1 as well as linked questions. – moewe Sep 15 '16 at 7:29

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}
\begin{document}
\cite{test}
\printbibliography
\end{document}


\n is generally not defined and the ' afterwards generates the error message. About the "{\'{i}} an error occurs" from your comments: That should be \'{\i}, where \i creates an "i" without dot, so that the "´" can be placed there.

Thus author={Ran{\v{n}}ik, Kj{\v{r}}{\'{\i}}} should produce the right output.

• For being BibTeX compatible it should be Ran{\v{n}}ik, Kj{\v{r}}{\'{i}} – egreg Sep 14 '16 at 18:06
• @egreg: Thanks, +1, fixed my answer for the missing brackets, but \i instead i also for BibTeX, or not? – Stephen Sep 14 '16 at 18:08