الصفحة الرئيسية
المزايا
المشروع
روابط مفيدة
حولنا
تنزيل
النسخة القديمة



See also: ArCharsetD

Related Class Documentation

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

  include(
'Arabic.php');
  
$Arabic = new Arabic('ArCharsetC');
  
  
$Arabic->setInputCharset('utf-8');

  
$Arabic->setOutputCharset('utf-8');
  
$charset $Arabic->getOutputCharset();
  
$text1 $Arabic->convert($text);
  echo 
"<p>$text1 ($charset)</p>";
  
  
$Arabic->setOutputCharset('windows-1256');
  
$charset $Arabic->getOutputCharset();
  
$text2 $Arabic->convert($text);
  echo 
"<p>$text2 ($charset)</p>";
  
  
$Arabic->setOutputCharset('iso-8859-6');
  
$charset $Arabic->getOutputCharset();
  
$text3 $Arabic->convert($text);
  echo 
"<p>$text3 ($charset)</p>";
?>


بسم الله الرحمن الرحيم (utf-8)

(windows-1256)

(iso-8859-6)

Anyone can do any amount of work provided it isn't the work he is supposed to be doing.
يمكن لأي شخص القيام بأي قدر من العمل الذي يعطى له طالما لم يكن هو العمل المفترض به أن ينجزه
Index | Features | ArPHP Project | Useful Links | About Us | Download | PHP4!!!

Copyright © 2006 - 2010 Ar-PHP. All Rights Reserved | Sourceforge.net | Terms Of Use

 

  If not now when? If not you and me who else? | إن لم يكن الآن فمتى؟ إن لم تكن أنت وأنا فمن غيرنا؟