unable to print a greek character in pdf using php script & fpdf

character-encoding, fpdf, pdf-generation, php

Solution

You'll need to use the TFPDF extension of the FPDF project. TFPDF uses multi-byte string functions and writes its output with a UTF-8 encoding, while FPDF does not.

See:

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

Problem

while trying to print a greek character `'φ'` I get the following character printed on the pdf `'φ'`

Original source