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





 
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)

The number of people in any working group tends to increase regardless of the amount of work to be done.
عدد الأشخاص في أي مجموعة العمل يميل إلى الزيادة بغض النظر عن كمية العمل المطلوب إنجازها
Index | Features | ArPHP Project | Useful Links | About Us | Download | PHP4!!!

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

 

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