The module comments in the profile. A message with Russian characters is displayed empty, but with a Latin alphabet it is normal. I tried different versions everywhere the same, help.
site encoding Windows-1251
All files of the Windows-1251 module
the table in the database is also cp1251_general_ci
A piece of code in the module responsible for the encoding
if ($_POST['ajax'] == 1) { function echoReturn($text) { die("<script language=\"javascript\">alert('{$text}');</script>"); } if (!function_exists("CharsetConvert")) { function CharsetConvert($text, $to = "auto") { global $config; if (version_compare($config['version_id'], "7.5", "<")) return convert_unicode($text); $text = stripslashes($text); $charset = mb_detect_encoding($text, "utf-8,windows-1251"); if ($to == "auto") $to = $config['charset']; if ($charset != $to && $to != "") $text = iconv($charset, $to . "//IGNORE", $text); return urldecode($text); } } if (!$is_logged) die($lang["lang_wall_1"]); $UserID = intval($member_id['user_id']); $UserName = stripslashes($member_id['name']); if ($_POST['add'] == 1) { $text = trim(htmlspecialchars(CharsetConvert(stripslashes($_POST['text']))));