Example Output:

Windows-1256 | ISO 8859-6 | UTF-8

بسم الله الرحمن الرحيم

Example Code:

<?php
    $text 
'بسم الله الرحمن الرحيم';

    include(
'I18N_Arabic.php');
    
$Arabic = new I18N_Arabic('CharsetC');
    
    
$Arabic->setInputCharset('utf-8');
    if (isset(
$_GET['charset'])){
        
$Arabic->setOutputCharset($_GET['charset']);
    }
    
    
$charset $Arabic->getOutputCharset();

    
$text $Arabic->convert($text);
    echo 
$text;    
?>

Total execution time is 0.04625391960144 seconds
Amount of memory allocated to this script is 357768 bytes

Names of included or required files:

Related Class Documentation