View file NuclearCMS_v.1.0.0/chat/unicode.lib.php
<?php function unicode ($s) { if ( (ord($s)>=192) & (ord($s)<=255) ) $hexvalue=dechex(ord($s)+848); if ($s=="Ё") $hexvalue="401"; if ($s=="ё") $hexvalue="451"; return("�".$hexvalue.";");} function utf_encode ($s) { return(preg_replace("/[А-яЁё]/e","unicode('\\0')",$s));} ?>