title: MySQL query returning non UTF8 characters
body: <p>I've got a login screen that checks entered username and password against a MySQL database.
  My problem is that it doesn't recognize Swedish characters like "ÅÄÖ".</p>
  
  <p>For example, the password "lösenord" is in the database but it isn't accepted, however "losenord" is.</p>
  
  <p>The database has "utf8_general_ci" connection collation and I've set the charset to UTF-8 in my index.html but not in my php scripts.
  I've read what feels like a million different ways to solve UTF 8 issues like this but I can't get it to work.</p>
  
  <p>If someone could at least point me in the right direction I would be very thankful.
  Do I need to encode each mysql query, set some META tag?</p>
  
  <p>Cheers</p>