I'm trying to use DOMDocument and when I saved the HTML, it seems to be adding extra special charachters on the output.
$output = '<div>©Deneme</div>';
$html = new DOMDocument("1.1");
$html->loadHTML($output);
echo $html->saveHTML();
The output is
<div>©Deneme</div>
Why does the output has "Â"? I couldn't figure it out.
Thank you,