I\'m reading out lots of texts from various RSS feeds and inserting them into my database.
Of course, there are several different character encodings used in the fee
I had same issue with phpQuery (ISO-8859-1 instead of UTF-8) and this hack helped me:
$html = '' . $html;
mb_internal_encoding('UTF-8'), phpQuery::newDocumentHTML($html, 'utf-8'), mbstring.internal_encoding and other manipulations didn't take any effect.
mb_internal_encoding('UTF-8')
phpQuery::newDocumentHTML($html, 'utf-8')
mbstring.internal_encoding