この HTML マークアップを phpquery::newDocument で実行した後に不適切に表示される文字を修正する方法はありますか? phpquery を使用して新しいドキュメントを作成した後、元のドキュメントの -Classics with modern Woman- の前後に二重引用符が予定されており、不適切に表示されます。
//Original document is UTF-8 encoded
$raw_html = '<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body><p>Mr. Smith of Bangkok celebrated the “Classics with modern Woman”.</p></body></html>';
print($raw_html);
$aNew_document = phpQuery::newDocument($raw_html);
print($aNew_document);
元の出力: バンコクのスミス氏は、「モダンな女性とクラシック」を祝いました。
新しいドキュメントの出力: バンコクのスミス氏は、モダンな女性とともに「クラシック」を祝いました。