# How to mix characters from different languages in LaTeX?

I cannot mix characters from different languages ​​in one document. When I add \usepackage[T1]{fontenc}, there are problems with the cyrillic characters. When I add T2A, there are problems with other characters.

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1,T2A]{fontenc}
\begin{document}
\section{Test}
aşçęÐпщ
\end{document}


T1:

Unicode character п (U+043F)
(inputenc) not set up for use with LaTeX.


T1,T2A:

Command \DH unavailable in encoding T2A.


The cedilla and ogonek are in the T2A encoded fonts, so LaTeX is able to compose them to the main glyph (T2A contains the latin letters). However \DH cannot be composed.

Declare that it is, by default, in T1 encoding.

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1,T2A]{fontenc}

\DeclareTextSymbolDefault{\DH}{T1}

\begin{document}
\section{Test}
aşçęÐпщ
\end{document}


You could use xelatex or lualatex:

\documentclass{article}

\usepackage{libertine}

\begin{document}
\section{Test}
aşçęÐпщ
\end{document}