Fix cyrillic characters coming from LaTeX, saving in PDF
Merge pull request #3076 from mdboom/russian

Bug: backend_pdf: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2