Encoding cyrillic issue, using utf8

mysql

#1

guyz, pls take a look
got a problem with cyrillic queries

<?php header("Content-Type: text/html; charset=utf-8"); $db = mysqli_connect("localhost","serhiibihaiev",""); $dblink = mysqli_select_db($db,"c9"); $query = mysqli_query($db,"SELECT catname FROM cats"); while($row = mysqli_fetch_array($query,MYSQL_ASSOC)) { foreach($row as $value) { echo "

". $value ."

"; } } ?>
  1. cloud9
  2. random hosting server
    image

identical tables,
the same collations set,
both pages use header(“Content-Type: text/html; charset=utf-8”) function,
all the character-set variables are set identically on both servers,
neither mysqli_set_charset($db,“utf8”); helps :frowning:

any ideas? :disappointed_relieved: