Remove cp1251. Я сильно недооценивал трудолюбие неизвестного кодера.

This commit is contained in:
2023-01-10 19:26:14 +02:00
parent 008f36c094
commit b3810d2349
147 changed files with 267 additions and 1295 deletions
+1 -4
View File
@@ -229,13 +229,10 @@ function normJsonStr($str){
function ($m) {return chr(hexdec($m[1]) - 1072 + 224);},
$str
);
// $str = preg_replace_callback('/\\\u([a-f0-9]{4})/i', create_function('$m', 'return chr(hexdec($m[1])-1072+224);'), $str);
// //$str = iconv('cp1251', 'utf-8', $str);
// return $str;
}
?>
var log_text = <? echo normJsonStr(json_encode(convert('cp1251', 'utf-8', $log_text))); ?>;
var log_text = <? echo normJsonStr(json_encode($log_text)); ?>;
var youlogin = "<?=$u->info['login']?>";
function looklogrep(text,vars) {