title: How to display Germany Umlauts (ü, ä, ö) from sql in Php?
body: <p>I am trying to display this German character the proper way, if I don't use <code>htmlentities()</code> the output is <strong>unabh�ngig</strong>, but when I try to use <code>htmlentities()</code> the word is missing, why is that?</p>
  
  <pre><code>&lt;?php
  $str = htmlentities("unabhängig");
  ?&gt;
  &lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
  &lt;title&gt;Test&lt;/title&gt;
  &lt;meta charset='utf-8'&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;/body&gt;
  &lt;div&gt;&lt;?php echo $str;?&gt;&lt;/div&gt;
  </code></pre>