scinfu / SwiftSoup

SwiftSoup: Pure Swift HTML Parser, with best of DOM, CSS, and jquery (Supports Linux, iOS, Mac, tvOS, watchOS)
https://scinfu.github.io/SwiftSoup/
MIT License
4.53k stars 345 forks source link

Getting Chinese characters #108

Closed honghaoz closed 5 years ago

honghaoz commented 5 years ago

I couldn't get Chinese characters with SwiftSoup.

The original html is:

<td>过儿</td>

In the parsed html, it's

<td>过儿</td>
honghaoz commented 5 years ago

Nvm, the source of the Data before calling SwiftSoup is already wrong.