Skip to content

innerText() not returning valid utf-8 string #6

Open
@paquettg

Description

@paquettg

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions