There is a database encoded utf8_ general_ci. There is a request to output data from the table. If necessary, here it is below:
<?php $query = "SELECT `shoutbox`.id AS id,`shoutbox`.date AS date,`shoutbox`.user AS user,`shoutbox`.message AS message FROM `shoutbox` ORDER BY `shoutbox`.id DESC;"; $mysql_result = mysql_query ($query); ?> <table id="reviews_table" border="0"> <?php $class_num = 2; while($row = mysql_fetch_array ($mysql_result)) { $class_num = 3 - $class_num;?> <tr> <td> </td> <td width="90px"> <span class="date"><?php echo htmlspecialchars($row["user"]); ?></span> </td> <td> <font class="faq_text"><?php echo htmlspecialchars($row["message"]); ?> </font> </td> </tr> <?php } ?> </table> Instead of Russian letters is displayed ??? ? ???? ? ? ? ?
How to fix where to dig?
I tried to write
header("Content-Type: text/html; charset=UTF-8"); iconv_set_encoding("internal_encoding", "UTF-8"); iconv_set_encoding("output_encoding", "Windows-1251"); ob_start("ob_iconv_handler"); Did not help