Вход
Регистрация
PHP коды
| Декодирует строку в указанную кодировку
223 and $code<256) or ($code==179) or ($code==180) or ($code==186) or ($code==191)) $cp1251++; // а-я, і, ґ, є, Ї if (($code>191 and $code<224) or ($code==164) or ($code==166) or ($code==167) or ($code==173)) $koi8u++; // а-я, є, і, ї, ґ } if ($cp1251>$koi8u) $detect='windows-1251'; else $detect='koi8-u'; } if ($encoding==$detect) return $string; else return iconv($detect, $encoding."//TRANSLIT", $string); } ?>
Онлайн: 2
Реклама
Наш надёжный хостинг партнёр
Купить рекламу