EzXML.jl icon indicating copy to clipboard operation
EzXML.jl copied to clipboard

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

Open deahhh opened this issue 2 years ago • 2 comments

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䏭忷±å³

deahhh avatar Oct 10 '23 04:10 deahhh