[Tex/LaTex] Problem with Cyrillic letters

cyrillic

I used to write papers in English but now I have to type paper in Ukrainian. So I've got a couple of mistakes trying to make it.

Example

\documentclass[14pt,a4paper]{extarticle}
\usepackage[T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[ukrainian,english]{babel}

\begin{document}
В рівноважній статистичній механіці.
\end{document}

Error

! Package inputenc Error: Unicode char \u8:̆ not set up for use with LaTeX.

Of course, I've searched a lot at TeX SX and also tried

\usepackage[utf8x]{inputenc}

and got

! Package ucs Error: Please activate option 'combine'.

While trying to use \usepackage[combine]{ucs} option I get the following error

! LaTeX Error: Option clash for package ucs.
! Package ucs Error: Please activate option 'combine'.

Any ideas what's wrong? Interesting fact that when I type text directly in TeX editor, everything is OK, but if I paste text from pdf I have these errors. Of course, you can advice me to type all the text but it's hard to type hundreds of pages on my own.

Best Answer

pdflatex is not able to handle combining accents; you should directly use U+0439 rather than the combination U+0438 and U+0306.

\documentclass[14pt,a4paper]{extarticle}
\usepackage[T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[ukrainian]{babel}

\begin{document}
В рівноважній статистичній механіці.
\end{document}

enter image description here

Related Question