Example Output:

بسم الله الرحمن الرحيم (windows-1256)

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.0029737949371338 seconds
Amount of memory allocated to this script is 438384 bytes

Names of included or required files:

Related Class Documentation