Example Code:
<?php
$text = 'بسم الله الرحمن الرحيم';
require '../../Arabic.php';
$Arabic = new I18N_Arabic('CharsetD');
$charset = $Arabic->getCharset($text);
echo "$text ($charset) <br/>";
print_r($Arabic->guess($text));
Total execution time is 0.00094103813171387 seconds
Amount of memory allocated to this script is 479960 bytes
Names of included or required files:
- /home/ctowncp/cp.ctown.jo/deliveryapp1/dompdf/I18N/Arabic/Examples/CharsetD.php
- /home/ctowncp/cp.ctown.jo/deliveryapp1/dompdf/I18N/Arabic.php
- /home/ctowncp/cp.ctown.jo/deliveryapp1/dompdf/I18N/Arabic/CharsetD.php
Related Class Documentation