<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>مه‌كۆكانی وێبچن : چێكردنی ماڵپه‌ڕ : وێب داڕشتن/ ماڵپه‌ڕ به‌ گشتیی : به‌رنامه‌یه‌ک بۆ گۆڕینی UTF-8 بۆ Unicode هه‌روه‌ها فۆنته‌کانی عه‌لی بۆ یونیکورد و گۆڕینی ژماره‌کان بۆ کوردی</title>
<link>http://www.webchin.org/Meko</link>
<description> مه‌كۆكانی وێبچن</description>
<language>en</language>
<docs>http://backend.userland.com/rss</docs>
<item>
<title>به‌رنامه‌یه‌ک بۆ گۆڕینی UTF-8 بۆ Unicode هه‌روه‌ها فۆنته‌کانی عه‌لی بۆ یونیکورد و گۆڕینی ژماره‌کان بۆ کوردی in چێكردنی ماڵپه‌ڕ : وێب داڕشتن/ ماڵپه‌ڕ به‌ گشتیی</title>
<link>http://www.webchin.org/Meko/peyami-jimare/41787.html#p41787</link>
<guid isPermaLink="false">41787@http://www.webchin.org/Meko</guid>
<description>??????: به‌رنامه‌یه‌ک بۆ گۆڕینی UTF-8 بۆ Unicode هه‌روه‌ها فۆنته‌کانی عه‌لی بۆ یونیکورد و گۆڕینی ژماره‌کان بۆ کوردی

??????: ئه‌وه‌ منیش لام برد مامه‌ گیان ، ده‌ستخۆش دووباره‌
</description>
<pubDate>Tue, 26 Aug 2008 22:48:41 +0200</pubDate>
</item>
<item>
<title>به‌رنامه‌یه‌ک بۆ گۆڕینی UTF-8 بۆ Unicode هه‌روه‌ها فۆنته‌کانی عه‌لی بۆ یونیکورد و گۆڕینی ژماره‌کان بۆ کوردی in چێكردنی ماڵپه‌ڕ : وێب داڕشتن/ ماڵپه‌ڕ به‌ گشتیی</title>
<link>http://www.webchin.org/Meko/peyami-jimare/41786.html#p41786</link>
<guid isPermaLink="false">41786@http://www.webchin.org/Meko</guid>
<description>??????: به‌رنامه‌یه‌ک بۆ گۆڕینی UTF-8 بۆ Unicode هه‌روه‌ها فۆنته‌کانی عه‌لی بۆ یونیکورد و گۆڕینی ژماره‌کان بۆ کوردی

??????: به‌ڕێز akameng هه‌ر كه‌سێك ئازاده‌ چی ده‌كات به‌ مه‌رجێك له‌ چوار چێوه‌ی یاساكان بێت،
</description>
<pubDate>Tue, 26 Aug 2008 22:48:21 +0200</pubDate>
</item>
<item>
<title>به‌رنامه‌یه‌ک بۆ گۆڕینی UTF-8 بۆ Unicode هه‌روه‌ها فۆنته‌کانی عه‌لی بۆ یونیکورد و گۆڕینی ژماره‌کان بۆ کوردی in چێكردنی ماڵپه‌ڕ : وێب داڕشتن/ ماڵپه‌ڕ به‌ گشتیی</title>
<link>http://www.webchin.org/Meko/peyami-jimare/41783.html#p41783</link>
<guid isPermaLink="false">41783@http://www.webchin.org/Meko</guid>
<description>??????: به‌رنامه‌یه‌ک بۆ گۆڕینی UTF-8 بۆ Unicode هه‌روه‌ها فۆنته‌کانی عه‌لی بۆ یونیکورد و گۆڕینی ژماره‌کان بۆ کوردی

??????: کاکه‌ برووسک ئه‌گه‌ر بکرێت هه‌موو نوسینه‌که‌ مه‌خه‌ره‌ نێو ده‌قه‌وه‌ ( به‌ Quote) چونکه‌ له‌وانه‌یه‌ په‌ڕه‌که‌ که‌مێک قورس بکرێته‌وه‌ به‌تایبه‌تی له‌ کوردستانوا چاکم کرد زۆر سووپاس (هه‌ڵه‌یه‌کی گه‌وره‌یه‌ نه‌ده‌بوایه‌ بمبوورن )
</description>
<pubDate>Tue, 26 Aug 2008 22:45:30 +0200</pubDate>
</item>
<item>
<title>به‌رنامه‌یه‌ک بۆ گۆڕینی UTF-8 بۆ Unicode هه‌روه‌ها فۆنته‌کانی عه‌لی بۆ یونیکورد و گۆڕینی ژماره‌کان بۆ کوردی in چێكردنی ماڵپه‌ڕ : وێب داڕشتن/ ماڵپه‌ڕ به‌ گشتیی</title>
<link>http://www.webchin.org/Meko/peyami-jimare/41780.html#p41780</link>
<guid isPermaLink="false">41780@http://www.webchin.org/Meko</guid>
<description>??????: به‌رنامه‌یه‌ک بۆ گۆڕینی UTF-8 بۆ Unicode هه‌روه‌ها فۆنته‌کانی عه‌لی بۆ یونیکورد و گۆڕینی ژماره‌کان بۆ کوردی

??????: هه‌ر بژیت هیوای سه‌رکه‌وتن.برابژین.
</description>
<pubDate>Tue, 26 Aug 2008 22:38:46 +0200</pubDate>
</item>
<item>
<title>به‌رنامه‌یه‌ک بۆ گۆڕینی UTF-8 بۆ Unicode هه‌روه‌ها فۆنته‌کانی عه‌لی بۆ یونیکورد و گۆڕینی ژماره‌کان بۆ کوردی in چێكردنی ماڵپه‌ڕ : وێب داڕشتن/ ماڵپه‌ڕ به‌ گشتیی</title>
<link>http://www.webchin.org/Meko/peyami-jimare/41779.html#p41779</link>
<guid isPermaLink="false">41779@http://www.webchin.org/Meko</guid>
<description>??????: به‌رنامه‌یه‌ک بۆ گۆڕینی UTF-8 بۆ Unicode هه‌روه‌ها فۆنته‌کانی عه‌لی بۆ یونیکورد و گۆڕینی ژماره‌کان بۆ کوردی

??????: Webchin.org نه‌ك .com :D
</description>
<pubDate>Tue, 26 Aug 2008 22:35:03 +0200</pubDate>
</item>
<item>
<title>به‌رنامه‌یه‌ک بۆ گۆڕینی UTF-8 بۆ Unicode هه‌روه‌ها فۆنته‌کانی عه‌لی بۆ یونیکورد و گۆڕینی ژماره‌کان بۆ کوردی in چێكردنی ماڵپه‌ڕ : وێب داڕشتن/ ماڵپه‌ڕ به‌ گشتیی</title>
<link>http://www.webchin.org/Meko/peyami-jimare/41778.html#p41778</link>
<guid isPermaLink="false">41778@http://www.webchin.org/Meko</guid>
<description>??????: به‌رنامه‌یه‌ک بۆ گۆڕینی UTF-8 بۆ Unicode هه‌روه‌ها فۆنته‌کانی عه‌لی بۆ یونیکورد و گۆڕینی ژماره‌کان بۆ کوردی

??????: هههههههههههههههههههههههههههههه ، ده‌ستخۆش ، ههههههههههه كاك ئاسۆ ئا هه‌ڵی پاچه‌ ، ههه هه‌ر سه‌ركه‌وتوو بیت
</description>
<pubDate>Tue, 26 Aug 2008 22:32:48 +0200</pubDate>
</item>
<item>
<title>به‌رنامه‌یه‌ک بۆ گۆڕینی UTF-8 بۆ Unicode هه‌روه‌ها فۆنته‌کانی عه‌لی بۆ یونیکورد و گۆڕینی ژماره‌کان بۆ کوردی in چێكردنی ماڵپه‌ڕ : وێب داڕشتن/ ماڵپه‌ڕ به‌ گشتیی</title>
<link>http://www.webchin.org/Meko/peyami-jimare/41777.html#p41777</link>
<guid isPermaLink="false">41777@http://www.webchin.org/Meko</guid>
<description>??????: به‌رنامه‌یه‌ک بۆ گۆڕینی UTF-8 بۆ Unicode هه‌روه‌ها فۆنته‌کانی عه‌لی بۆ یونیکورد و گۆڕینی ژماره‌کان بۆ کوردی

??????: :D
</description>
<pubDate>Tue, 26 Aug 2008 22:28:45 +0200</pubDate>
</item>
<item>
<title>به‌رنامه‌یه‌ک بۆ گۆڕینی UTF-8 بۆ Unicode هه‌روه‌ها فۆنته‌کانی عه‌لی بۆ یونیکورد و گۆڕینی ژماره‌کان بۆ کوردی in چێكردنی ماڵپه‌ڕ : وێب داڕشتن/ ماڵپه‌ڕ به‌ گشتیی</title>
<link>http://www.webchin.org/Meko/peyami-jimare/41776.html#p41776</link>
<guid isPermaLink="false">41776@http://www.webchin.org/Meko</guid>
<description>??????: به‌رنامه‌یه‌ک بۆ گۆڕینی UTF-8 بۆ Unicode هه‌روه‌ها فۆنته‌کانی عه‌لی بۆ یونیکورد و گۆڕینی ژماره‌کان بۆ کوردی

??????: سوپاس کاک ئاسۆ،ده‌ترسم ڕۆژێک خۆشم هه‌ڵواسن له‌ یه‌کێک له‌م مه‌کۆیان;)
</description>
<pubDate>Tue, 26 Aug 2008 22:28:19 +0200</pubDate>
</item>
<item>
<title>به‌رنامه‌یه‌ک بۆ گۆڕینی UTF-8 بۆ Unicode هه‌روه‌ها فۆنته‌کانی عه‌لی بۆ یونیکورد و گۆڕینی ژماره‌کان بۆ کوردی in چێكردنی ماڵپه‌ڕ : وێب داڕشتن/ ماڵپه‌ڕ به‌ گشتیی</title>
<link>http://www.webchin.org/Meko/peyami-jimare/41772.html#p41772</link>
<guid isPermaLink="false">41772@http://www.webchin.org/Meko</guid>
<description>??????: به‌رنامه‌یه‌ک بۆ گۆڕینی UTF-8 بۆ Unicode هه‌روه‌ها فۆنته‌کانی عه‌لی بۆ یونیکورد و گۆڕینی ژماره‌کان بۆ کوردی

??????: ده‌ستخۆش، بابه‌ته‌كه‌ هه‌ڵواسرا.
</description>
<pubDate>Tue, 26 Aug 2008 22:22:42 +0200</pubDate>
</item>
<item>
<title>به‌رنامه‌یه‌ک بۆ گۆڕینی UTF-8 بۆ Unicode هه‌روه‌ها فۆنته‌کانی عه‌لی بۆ یونیکورد و گۆڕینی ژماره‌کان بۆ کوردی in چێكردنی ماڵپه‌ڕ : وێب داڕشتن/ ماڵپه‌ڕ به‌ گشتیی</title>
<link>http://www.webchin.org/Meko/peyami-jimare/41750.html#p41750</link>
<guid isPermaLink="false">41750@http://www.webchin.org/Meko</guid>
<description>??????: به‌رنامه‌یه‌ک بۆ گۆڕینی UTF-8 بۆ Unicode هه‌روه‌ها فۆنته‌کانی عه‌لی بۆ یونیکورد و گۆڕینی ژماره‌کان بۆ کوردی

??????: بمبوورن، به‌رنامه‌که‌ دووکاری سه‌ره‌کی ده‌کات:1- نرخه‌ ژماره‌ییه‌کانی هه‌موو ده‌قێکت ده‌داتێ له‌سه‌ر شێوازی Unicode (واته‌ ده‌قه‌کان ده‌گؤڕێت بۆ یونیکۆد)، لێره‌دا ده‌پرسیت ئایا نرخه‌ ژماره‌ییه‌کان سوودیان چیه‌؟؟ منیش ده‌ڵێم تۆ ده‌توانیت پیتی ۆ به‌ ژماره‌ 1734 ده‌رببڕیت، وه‌ بۆ نیشاندانی له‌ناو HTML دا به‌م شێوه‌یه‌:
:&#38;#XXXX;
XXXX واته‌ ژماره‌ی پیته‌که‌2- به‌ پێچه‌وانه‌شه‌وه‌ نرخه‌ ژماره‌ییه‌کان ده‌گؤڕێته‌وه‌ بۆ سه‌رجۆری ده‌قی.هه‌ندێك وه‌ڕگێڕانی تریش که‌ پیته‌ عه‌ره‌بیه‌کان ده‌گۆڕێته‌ سه‌ر کوردی هه‌ریه‌که‌ به‌گوێره‌ی به‌رکه‌وته‌ی خۆی
</description>
<pubDate>Tue, 26 Aug 2008 21:39:00 +0200</pubDate>
</item>
<item>
<title>به‌رنامه‌یه‌ک بۆ گۆڕینی UTF-8 بۆ Unicode هه‌روه‌ها فۆنته‌کانی عه‌لی بۆ یونیکورد و گۆڕینی ژماره‌کان بۆ کوردی in چێكردنی ماڵپه‌ڕ : وێب داڕشتن/ ماڵپه‌ڕ به‌ گشتیی</title>
<link>http://www.webchin.org/Meko/peyami-jimare/41746.html#p41746</link>
<guid isPermaLink="false">41746@http://www.webchin.org/Meko</guid>
<description>??????: به‌رنامه‌یه‌ک بۆ گۆڕینی UTF-8 بۆ Unicode هه‌روه‌ها فۆنته‌کانی عه‌لی بۆ یونیکورد و گۆڕینی ژماره‌کان بۆ کوردی

??????: سڵاو به‌ڕێزان، هه‌موومان کێشه‌ی زمانی کووردیمان هه‌یه‌ وێبدا، به‌تایبه‌تی له‌ زمانی پ هـ پ دا پاڵپشتی ڕاسته‌وخۆ نیه‌ بۆ جۆری UTF-8، زۆر جار ده‌قه‌کان تێکده‌چن و ده‌گۆڕێن و ... هتد، یاخوود گه‌ر بته‌وێت ژماره‌ی پیته‌کانی ده‌قێکی کوردی یونیکۆد له‌ پ هـ پ دا بدۆزیته‌وه‌ ئه‌وا ده‌بێت چاره‌سه‌ری بکه‌یت و فرمانێکی ده‌ره‌کی بۆ دروست بکه‌یت.من ئه‌م به‌رنامه‌یه‌ پێشکه‌ش به‌ ئێوه‌ ده‌که‌م (مافی له‌به‌رگرتنه‌وه‌ی پارێزراوه‌ بۆ webchin.org)، هه‌ر که‌س ئازاده‌ ئیتر چی له‌و به‌رنامه‌یه‌ ده‌کات به‌ گوێره‌ی یاساکانی webchin.org.تێبینی: وه‌شانی یه‌که‌می ئه‌م به‌رنامه‌یه‌م له‌ ماڵپه‌ری php.net بڵاو کردۆته‌وه‌ له‌م به‌سته‌ره‌ http://www.php.net/utf8_encode، ئه‌مه‌ وه‌شانی دووه‌مه‌ئه‌م به‌رنامه‌یه‌م له‌م به‌سته‌ره‌دا داناوه‌، ئاماده‌یه‌ بۆ کارپێکردن:http://www.kurdphp.com/utf_unicode.phpئه‌م به‌سته‌ره‌ش بۆ داگرتنی:http://www.kurdphp.com/utf_unicode.zip
:&#60;!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34; &#34;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#34;&#62;
&#60;html xmlns=&#34;http://www.w3.org/1999/xhtml&#34;&#62;

&#60;head&#62;
&#60;meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=utf-8&#34; /&#62;
&#60;title&#62;UTF-8 &#38;lt;===&#38;gt; Unicode Convertor&#60;/title&#62;
&#60;meta name=&#34;keywords&#34; content=&#34;UTF-8 to Unicode Convertor, Unicode to UTF-8 Convertor, HTML to Entities Value, String to Unicode, UTF-8 6 bit Support&#34; /&#62;
&#60;meta name=&#34;description&#34; content=&#34;UTF-8 to Unicode Convertor, Unicode to UTF-8 Convertor, HTML to Entities Value, String to Unicode, UTF-8 6 bit Support&#34; /&#62;
&#60;style type=&#34;text/css&#34;&#62;
  input{
    cursor:hand;
    font-family:Tahoma;
    font-size:13px;
    background-color:#000000;
    border-color:silver;
    color:white;
    font-weight:bold;
}
  textarea{
    font-family:Tahoma;
    font-size:13px;
    background-color:white;
    border:1px black solid;
    color:#333333;
}
.tdtext{
    text-align: left; 
    border: 1px solid #000000;
    font-size:13px;
    padding:8px;
}
.main{
    width: 700px; 
    font-family: Tahoma;
}
.center{
    text-align: center;
}
&#60;/style&#62;
&#60;/head&#62;

&#60;body&#62;
&#60;?php
/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  @ akam AT AkamENG dot COM
  @ UTF-8 &#60;--&#62; Unicode Convertor
  @ Supports 6 bit
  @ For my Kurdish People!
  */

 $input    = $_POST['input'];
 $convert  = $_POST['convert'];
 
 if($convert == 'UTF-8 to Unicode' &#38;&#38; $input){
    //$converted = str_replace('&#38;amp;', '&#38;', htmlentities(UTF_to_Unicode($input)));
    $converted = htmlspecialchars(UTF_to_Unicode($input));
    $unikurd   = htmlspecialchars(Unicode_to_UTF(unikurd(UTF_to_Unicode($input))));
 }
 
 if($convert == 'Unicode to UTF-8' &#38;&#38; $input){
    $converted = htmlspecialchars(Unicode_to_UTF($input));
 }
 

/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 *@ function Unicode_to_UTF: Decode Unicode Values to UTF-8
 *@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
 
 function Unicode_to_UTF( $input, $array=TRUE){

    if(!is_array($input)){
       $input     = str_replace('&#38;#', '', $input);
       $input     = explode(';', $input);
       $len = count($input);
       unset($input[$len-1]);
    }
  
  
    for($i=0; $i &#60; count($input); $i++){
        /* Decoding 1 bit
        @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
        if ( $input[$i] &#60; 128 ){
            $byte1 = $input[$i];
            $utf  .= chr($byte1);
        }
    
        /* Decoding 2 bit
        @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
        if ( $input[$i] &#62;= 128 &#38;&#38; $input[$i] &#60;= 2047 ){
    
            $byte1 = 192 + (int)($input[$i] / 64);
            $byte2 = 128 + ($input[$i] % 64);
            $utf  .= chr($byte1).chr($byte2);
        }
    
        /* Decoding 3 bit
        @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
        if ( $input[$i] &#62;=2048 &#38;&#38; $input[$i] &#60;=65535){
    
            $byte1 = 224 + (int)($input[$i] / 4096);
            $byte2 = 128 + ((int)($input[$i] / 64) % 64);
            $byte3 = 128 + ($input[$i] % 64);
       
            $utf  .= chr($byte1).chr($byte2).chr($byte3);
        }
    
        /* Decoding 4 bit
        @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
        if ( $input[$i] &#62;=65536 &#38;&#38; $input[$i] &#60;=2097151){
    
            $byte1 = 240 + (int)($input[$i] / 262144);
            $byte2 = 128 + ((int)($input[$i] / 4096) % 64);
            $byte3 = 128 + ((int)($input[$i] / 64) % 64);
            $byte4 = 128 + ($input[$i] % 64);
            $utf  .= chr($byte1).chr($byte2).chr($byte3).chr($byte4);
        }
    
        /* Decoding 5 bit
        @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/                                                
        if ( $input[$i] &#62;=2097152 &#38;&#38; $input[$i] &#60;=67108863){
    
            $byte1 = 248 + (int)($input[$i] / 16777216);
            $byte2 = 128 + ((int)($input[$i] / 262144) % 64);
            $byte3 = 128 + ((int)($input[$i] / 4096) % 64);
            $byte4 = 128 + ((int)($input[$i] / 64) % 64);
            $byte5 = 128 + ($input[$i] % 64);
            $utf  .= chr($byte1).chr($byte2).chr($byte3).chr($byte4).chr($byte5);
        }
    
        /* Decoding 6 bit
        @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/  
        if ( $input[$i] &#62;=67108864 &#38;&#38; $input[$i] &#60;=2147483647){
    
            $byte1 = 252 + ($input[$i] / 1073741824);
            $byte2 = 128 + (($input[$i] / 16777216) % 64);
            $byte3 = 128 + (($input[$i] / 262144) % 64);
            $byte4 = 128 + (($input[$i] / 4096) % 64);
            $byte5 = 128 + (($input[$i] / 64) % 64);
            $byte6 = 128 + ($input[$i] % 64);
            $utf  .= chr($byte1).chr($byte2).chr($byte3).chr($byte4).chr($byte5).chr($byte6);
        }
    
    }
    
 
   
   return $utf;
}

/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 *@ function Unicode_to_UTF: Decode Unicode Values to UTF-8
 *@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
function unikurd( $input ){

  $arabic   = array('&#1591;', '&#1592;', '&#1584;', '&#1590;', '&#1610;', '&#1603;', '&#1574;', '&#1572;', '&#1610;', 
                    '&#1577;', '&#1608;', '&#1604;&#1614;', '&#1585;&#1616;', '&#1569;', 
                    '&#48;', '&#49;', '&#50;', '&#51;', '&#52;', '&#53;', '&#54;', '&#55;', '&#56;', '&#57;',
                    '&#1740;&#1614;', '&#1579;', '&#1611;');

  $kurdish  = array('&#1711;', '&#1700;', '&#1688;', '&#1670;', '&#1740;', '&#1705;', '&#1574;', '&#1734;', '&#1740;', 
                    '&#1607;&#8204;', '&#1608;', '&#1717;', '&#1685;', '&#1608;',
                    '&#1632;', '&#1633;', '&#1634;', '&#1635;', '&#1636;', '&#1637;', '&#1638;', '&#1639;', '&#1640;', '&#1641;',
                    '&#1742;', '&#1662;', '');

  return str_replace($arabic, $kurdish, $input);

}

/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 *@ function UTF_to_Unicode: Encode UTF-8 Values to Unicode
 *@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
function UTF_to_Unicode($input, $array=False) {

    $value = '';
    $val   = array();
 
    for($i=0; $i&#60; strlen( $input ); $i++){
 
        $ints = ord ( $input[$i] );
     
        $z     = ord ( $input[$i] );
        $y     = ord ( $input[$i+1] ) - 128;
        $x     = ord ( $input[$i+2] ) - 128;
        $w     = ord ( $input[$i+3] ) - 128;
        $v     = ord ( $input[$i+4] ) - 128;
        $u     = ord ( $input[$i+5] ) - 128;
        
        /* Encoding 1 bit
        @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
        if( $ints &#62;= 0 &#38;&#38; $ints &#60;= 127 ){
            // 1 bit
            $value[]= '&#38;#'.($z).';';
            //$val[]  = $value; 
        }
        
        /* Encoding 2 bit
        @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
        if( $ints &#62;= 192 &#38;&#38; $ints &#60;= 223 ){
        // 2 bit
            //$value[]= '&#38;#'.(($z-192) * 64 + $y).';';
            $value[]= '&#38;#'.(($z-192) * 64 + $y).';';
            //$val[]  = $value;
        }  
          
        /* Encoding 3 bit
        @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
        if( $ints &#62;= 224 &#38;&#38; $ints &#60;= 239 ){
            // 3 bit
            $value[]= '&#38;#'.(($z-224) * 4096 + $y * 64 + $x).';';
            //$val[]  = $value;
        } 
        
        /* Encoding 4 bit
        @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/    
        if( $ints &#62;= 240 &#38;&#38; $ints &#60;= 247 ){
            // 4 bit
            $value[]= '&#38;#'.(($z-240) * 262144 + $y * 4096 + $x * 64 + $w).';';
        } 
         
        /* Encoding 5 bit
        @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/   
        if( $ints &#62;= 248 &#38;&#38; $ints &#60;= 251 ){
            // 5 bit
            $value[]= '&#38;#'.(($z-248) * 16777216 + $y * 262144 + $x * 4096 + $w * 64 + $v).';';
        }
        
        /* Encoding 6 bit
        @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
        if( $ints == 252 || $ints == 253 ){
            // 6 bit
            $value[]= '&#38;#'.(($z-252) * 1073741824 + $y * 16777216 + $x * 262144 + $w * 4096 + $v * 64 + $u).';';
        }
        
        /* Wrong Ord!
        @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
        if( $ints == 254 || $ints == 255 ){
            echo 'Wrong Result!&#60;br&#62;';
        }
     
    }
 
    if( $array === False ){
        $unicode = '';
        foreach($value as $value){
               $unicode .= $value;
        
        }
    
    /*
        $val     = str_replace('&#38;#', '', $value);
        $val     = explode(';', $val);
        $len = count($val);
        unset($val[$len-1]);
    */
        return $unicode;
        
    }
    if($array === True ){
       return $value;
    }
 
}

?&#62;
&#60;center&#62;
&#60;table class=&#34;main&#34; cellspacing=&#34;4&#34; cellpadding=&#34;0&#34;&#62;
    &#60;tr&#62;
        &#60;td class=&#34;center&#34;&#62;
        &#60;form method=&#34;post&#34;&#62;
            &#60;table style=&#34;width: 700px&#34; cellspacing=&#34;0&#34; cellpadding=&#34;0&#34;&#62;
                &#60;tr&#62;
                    &#60;td&#62;&#60;textarea name=&#34;input&#34; style=&#34;width: 689px; height: 250px&#34;&#62;&#60;/textarea&#62;&#60;br /&#62;
                    &#60;/td&#62;
                &#60;/tr&#62;
                &#60;tr&#62;
                    &#60;td&#62;
            &#60;input name=&#34;convert&#34; type=&#34;submit&#34; value=&#34;UTF-8 to Unicode&#34; /&#62;&#38;nbsp;&#38;nbsp;&#60;input name=&#34;convert&#34; type=&#34;submit&#34; value=&#34;Unicode to UTF-8&#34; /&#62;&#60;/td&#62;
                &#60;/tr&#62;
            &#60;/table&#62;
            &#60;/form&#62;
        &#60;/td&#62;
    &#60;/tr&#62;
    &#60;tr&#62;
        &#60;td style=&#34;font-size: 18px; direction: rtl; height: 64px; text-align:center&#34;&#62;&#60;strong&#62;
        Converted text&#60;br /&#62;
        &#60;span&#62;تێکستی وه‌رگێڕدراو&#60;/span&#62;&#60;/strong&#62;&#60;/td&#62;
    &#60;/tr&#62;
    &#60;tr&#62;
        &#60;td style=&#34;width: 700px&#34;&#62;&#60;textarea name=&#34;input&#34; style=&#34;width: 689px; height: 200px&#34;&#62;&#60;?php echo $converted; ?&#62;&#60;/textarea&#62;&#38;nbsp;&#60;/td&#62;
    &#60;/tr&#62;
    &#60;tr&#62;
        &#60;td&#62;&#38;nbsp;&#60;/td&#62;
    &#60;/tr&#62;
    &#60;tr&#62;
        &#60;td style=&#34;direction: rtl; height: 64px; text-align:center&#34;&#62;&#60;span style=&#34;font-size: 18px&#34;&#62;
        &#60;strong&#62;Unikurd Text&#60;br /&#62;
        &#60;span&#62;تێکستی وه‌رگێڕدراو بۆ یونیکورد&#60;/span&#62;&#60;/strong&#62;&#60;/span&#62;&#60;/td&#62;
    &#60;/tr&#62;
    &#60;tr&#62;
        &#60;td style=&#34;width: 700px&#34;&#62;&#60;textarea name=&#34;input&#34; style=&#34;width: 689px; height: 150px&#34;&#62;&#60;?php echo $unikurd; ?&#62;&#60;/textarea&#62;&#38;nbsp;&#60;/td&#62;
    &#60;/tr&#62;

&#60;/table&#62;
&#60;/center&#62;
&#60;/body&#62;

&#60;/html&#62;
وا باشتره‌ له‌به‌سته‌ری داگرتنه‌وه‌ ئه‌م کۆده‌ به‌ده‌ست بهێنیتبه‌و هیوایه‌ی هه‌موولایه‌ک سوودمه‌ند ببن
</description>
<pubDate>Tue, 26 Aug 2008 21:33:35 +0200</pubDate>
</item>
</channel>
</rss>
