note 85089 added to function.imagestring

From: Date: Thu, 14 Aug 2008 09:42:53 +0000
Subject: note 85089 added to function.imagestring
Groups: php.notes 
Request: Send a blank email to php-notes+get-143486@lists.php.net to get a copy of this message
If you have any problem with CentralEurope's words, for example : ľščťžýáíéúäňôď, I am try this problem by iconv() function. <?php // create example image $im = imagecreate(200, 20); $bg = imagecolorallocate($im, 255, 255, 255); $textcolor = imagecolorallocate($im, 0, 0, 255); $text = "ľščťžýáíéúäňôď..."; //simple convert string $string = iconv("Windows-1250", "Latin2", $text); // write converted string at the top left imagestring($im, 4, 0, 0, $string, $textcolor); // output the image header("Content-type: image/png"); imagepng($im); ?> ---- Server IP: 217.73.17.12 Probable Submitter: 195.49.188.227 ---- Manual Page -- http://www.php.net/manual/en/function.imagestring.php Edit -- https://master.php.net/note/edit/85089 Del: integrated -- https://master.php.net/note/delete/85089/integrated Del: useless -- https://master.php.net/note/delete/85089/useless Del: bad code -- https://master.php.net/note/delete/85089/bad+code Del: spam -- https://master.php.net/note/delete/85089/spam Del: non-english -- https://master.php.net/note/delete/85089/non-english Del: in docs -- https://master.php.net/note/delete/85089/in+docs Del: other reasons-- https://master.php.net/note/delete/85089 Reject -- https://master.php.net/note/reject/85089 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#143486) next »