note 91028 added to function.imagettftext
| From: | nadavkav at gmail dot com | Date: | Thu, 21 May 2009 12:32:04 +0000 |
| Subject: | note 91028 added to function.imagettftext | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-155830@lists.php.net to get a copy of this message | ||
for passing hebrew (and maybe other rtl language text) you can use the following code (as suggested
by udi and which worked for me) :
<?php
$returnedtext = iconv("ISO-8859-8", "UTF-8", hebrev(iconv("UTF-8",
"ISO-8859-8", $originaltext)));
?>
----
Server IP: 82.80.248.162
Probable Submitter: 89.139.117.242
----
Manual Page -- http://www.php.net/manual/en/function.imagettftext.php
Edit -- https://master.php.net/note/edit/91028
Del: integrated -- https://master.php.net/note/delete/91028/integrated
Del: useless -- https://master.php.net/note/delete/91028/useless
Del: bad code -- https://master.php.net/note/delete/91028/bad+code
Del: spam -- https://master.php.net/note/delete/91028/spam
Del: non-english -- https://master.php.net/note/delete/91028/non-english
Del: in docs -- https://master.php.net/note/delete/91028/in+docs
Del: other reasons-- https://master.php.net/note/delete/91028
Reject -- https://master.php.net/note/reject/91028
Search -- https://master.php.net/manage/user-notes.php