php-simple-html-dom-parser
php-simple-html-dom-parser copied to clipboard
innerText() not returning valid utf-8 string
When you attempt to get the text of an element that has no html elements in it it returns a non-utf-8 encoded string. An element such as
<h3>Технические работы на сервере<h3>
the string returned by innerText() is not encoded properly but the string returned by outerText() is returned with the proper encoding. This refers to the simple_html_dom_node class.