Kod: Tümünü seç
#
#----[AÇ]-----
#
ajax.php
#
#----[bul]---
#
function convert_unicode($t)
#
#--[Öncesine ekle]----
#
function unhtmlentities($string)
{
// replace numeric entities
$string = preg_replace('~&#x([0-9a-f]+);~ei', 'chr(hexdec("\\1"))', $string);
$string = preg_replace('~&#([0-9]+);~e', 'chr("\\1")', $string);
// replace literal entities
$trans_tbl = get_html_translation_table(HTML_ENTITIES);
$trans_tbl = array_flip($trans_tbl);
return strtr($string, $trans_tbl);
}
#
#---[BUL]---
#
return preg_replace('#%u([0-9A-F]{1,4})#ie', "'&#' . hexdec('\\1') . ';'", html_entity_decode($t, ENT_NOQUOTES, 'iso-8859-1'));
#
#---[Değiştir]---
#
return preg_replace('#%u([0-9A-F]{1,4})#ie', "'&#' . hexdec('\\1') . ';'", unhtmlentities($t));
#
#--[Tüm dosyaları kaydet ve kapat]--
#