Can anyone help me? I've looked here and around Google, but all the code which people claim works for them doesn't work for me. For example, if I use XeLaTeX on:
\documentclass{book}
\usepackage[paperwidth=5in,paperheight=8in,
top=0.75in, bottom=0.75in,
inner=0.75in,outer=0.75in ]{geometry}
\usepackage{setspace}
\usepackage{libertine}
\usepackage[russian]{babel}
\begin{document}
\begin{titlepage}
\vspace*{\stretch{2}}
\begin{center}
\huge
Либертарианские уроки \\
\textit{Южного Парка}
\vspace{\stretch{1}}
\Large
Libertarian Philosophy in \\
\textit{South Park}
\vspace{\stretch{4}}
\normalsize
Брандон Симпсон
\end{center}
\end{titlepage}
\end{document}
I get the English output as normal, but the Cyrillic characters are all rendered as ??????
I thought maybe the problem was with TeXShop, but if I open the .pdf with Preview or Acrobat, it's all ???s...
Any advice? I've been using LaTeX for a long time, but haven't had to write in Cyrillic, and don't know much about fonts/encoding/etc.
thank you
% !TEX encoding = UTF-8 Unicode
at the beginning of the file and retry.