PHP - Creating image with imagettftext with Greek text
问题 I'm trying to use imagettftext to create an image using this Greek text "από τον/την". This text is read from a MySQL database table from a field whose collation is set to utf8-unicode-ci. The text comes out of the database as "από τον/την". Here's the code (lifted from php.net) header('Content-Type: image/png'); // Create the image $im = imagecreatetruecolor(400, 30); // Create some colors $white = imagecolorallocate($im, 255, 255, 255); $grey = imagecolorallocate($im, 128, 128, 128