Skip to content

The nodecontent function changes the encoding format of wide characters when they are processed, resulting in a garbled display. #184

@deahhh

Description

@deahhh
using EzXML

doc = EzXML.parsehtml("<body><p>hello</p><p>中国</p><p>深圳</p></body>")

primates = root(doc)

for p in eachelement(primates)
    println(nodecontent(p))
end
julia draft.jl

Out put:
hello䏭忷±å³

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions