\documentclass[a4paper]{article}
\usepackage[russian]{babel}
\usepackage[utf8]{inputenc}

\begin{document}
тест, тест, тест
\end{document}

