anapovideozxa
New Member
So I'm trying to parse HTML pages and looking for paragraphs (\[code\]<p>\[/code\]) using \[code\]get_elements_by_tag_name('p');\[/code\]The problem is that when I use \[code\]$element->nodeValue\[/code\], it's returning weird characters. The document is loaded first into $html using curl then loading it into a DomDocument.I'm sure it has to do with charsets.Here's an example of a response: "aujourd?