Rasim Mehtijev
Rasim Mehtijev

Reputation: 101

UFPDF russian characters do not show up, php

I am using UFPDF. Trying to out put on pdf file russian characters. But instead I'm getting:

ЖÐμлÐμзный чÐμловÐμк. БолÑOEшаѕ

UFPDF - converts all text is in UTF-8. I checked mb_detect_encoding and yes the string is in UTF-8.

I am getting the data from mysql database and outputting it to pdf file. The mysql table is in utf8_general_ci.

Any help will be appreciated.

Thx.

Upvotes: 1

Views: 891

Answers (1)

Rasim Mehtijev
Rasim Mehtijev

Reputation: 101

I found free php library to generate and display russian characters in a pdf document.

tfpdf.php

http://fpdf.org/en/script/script92.php

Upvotes: 2

Related Questions