I have a problem with my engineering thesis, because I have to save my latex project in UTF-8 in pdf. Everything is ok, till I copy some text from pdf into another text editor (for example notepad). Then I have some strange signs in the place of polish letters. I have to change that, because it is needed to check my thesis by anti-plagiarism system.

\newgeometry{tmargin=2cm, bmargin=2cm, lmargin=1.5cm, rmargin=1.5cm}







  • 1
    Show a small but complete example that demonstrates the problem. Jan 28, 2020 at 16:28
  • When I copy text from compiled pdf to notepad, signs like ą, ę, ć ... are replaced by artifacts, example: ibb.co/yhwVFfc
    – Featurea
    Jan 28, 2020 at 16:40
  • No show your latex code. It matters. Jan 28, 2020 at 16:46
  • ok, I added latex code
    – Featurea
    Jan 28, 2020 at 17:02
  • I get ąęćżź when copying from the PDF file. What TeX distribution are you using? Please, show the first ten line or so from the log file.
    – egreg
    Jan 28, 2020 at 18:14

1 Answer 1


Try to load cmap package:


As writing in documentation, it is package "to make the PDF files generated by pdflatex "searchable and copyable" in acrobat reader and other compliant PDF viewers".

  • It's working! Thank You!
    – Featurea
    Jan 28, 2020 at 18:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .