title: Character encoding when executing SQL query
body: <p>Have been searching for a while but can't find the answer. This is <a href="http://www.andersbjarnle.se/ta_bort2/" rel="nofollow">my test page</a> based on <a href="http://hycus.com/2011/03/16/load-more-like-facebook-or-old-twitter-using-php-mysql-jquery/" rel="nofollow">this tutorial</a>. The first 5 posts from my database are printed just fine, but when loading another 5 the encoding messes up with the "å", "ä" and "ö" characters. If you for some reason can't see it the standard � character replaces the special ones.</p>
  
  <p>Would really appreciate some help, thanks!</p>