Wrong encoding for cyrillic symbols in PDF export file.
git clone or by downloading the package?: git cloneOther export formats (epub, mobi, txt, xml, json, csv) have normal encoding.
Version 2.1.2
PHP5
Debian 8
On dedicated
MySQL (MariaDB)
Bug reproduced. "?" instead Cyrillic symbols.
Same with Polish articles
Any chance on fixing this?
Similar issue with Thai script.
Source document: http://library.cmu.ac.th/ntic/lannamusic.php
เพลงพื้นบ้านล้านนา _ ศูนย์สนเทศภาคเหนือ สำนักหอสมุด มหาวิทยาลัยเชียงใหม่.pdf
It's because Helvetica font (which bundled with tcpdf library) doesn't have cyrillic symbols.
As for me, i have found a little workaround.
You can change default fonts in the tcpdf config file vendor/wallabag/tcpdf/config/tcpdf_config.php: PDF_FONT_NAME_MAIN and PDF_FONT_NAME_DATA.
i.e. you can use 'dejavusans' (or 'dejavuserif') instead of 'helvetica' for cyrillic (there are some thai fonts in vendor/wallabag/tcpdf/fonts folder for thai).
'freesans', 'freeserif' etc are also works.
@asocialpsihopat Interesting. Do you know if there is a font that can cover all languages? So we can enable it by default
@j0k3r , I think that PDF is for printing, so we can use standard CMU series. Or something more popular, like Libertation family, used by default in Libre Office. This fonts has support for many languages