title: mysqli_set_charset does not set charset
body: <p>$db is link to the db made by mysqli_connect(...);</p>
  
  <pre><code>mysqli_set_charset($db,"UTF-8");
  die(mysqli_character_set_name($db)); //returns (string) "latin1";
  </code></pre>
  
  <p>How to fix this?</p>