Test Ar-PHP Functionality Online

header line!
Test PHP Function
















Ar-PHP Manual

method utf8Glyphs [line 385]

string utf8Glyphs( string $str, [integer $max_chars = 50], [boolean $hindo = true])

Convert Arabic Windows-1256 charset string into glyph joining in UTF-8 hexadecimals stream (take care of whole the document including English sections as well as numbers and arcs etc...)



Tags:

return:  Arabic glyph joining in UTF-8 hexadecimals stream (take care of whole document including English sections as well as numbers and arcs etc...)
author:  Khaled Al-Sham'aa <khaled@ar-php.org>
access:  public


Parameters:

string   $str   Arabic string in Windows-1256 charset
integer   $max_chars   Max number of chars you can fit in one line
boolean   $hindo   If true use Hindo digits else use Arabic digits

Example
  1.    include('./I18N/Arabic.php');
  2.    $obj new I18N_Arabic('Glyphs');
  3.  
  4.    $text $obj->utf8Glyphs($text);
  5.  
  6.    imagettftext($im200200100$black$font$text);
Popular
Recent
Links
Ads!
footer line!

No Software Patents! General Public License

Home | Twitter | Blog | Contact

Copyright © 2006 - 2016 Khaled Al-Sham'aa