\documentclass{article}
\usepackage[T1,OT4]{fontenc}
\begin{document}
Text with \_.
\end{document}
In PDF there is a correct output: Text with _.
But when I select and copy it I get: Text with .
It happens on Adobe Reader, Foxit Reader and on Sumatra PDF so I think it is not a reader issue.
How can it be fixed?
OT4
andT1
)?