note 91028 deleted from function.imagettftext by cmb
| From: | cmb@php.net | Date: | Sun, 13 Jan 2019 10:38:26 +0000 |
| Subject: | note 91028 deleted from function.imagettftext by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-210042@lists.php.net to get a copy of this message | ||
Note Submitter: nadavkav at gmail dot com
----
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)));
?>