Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encoding should use document encoding, rather than UTF-8 all the time #162

Open
clementinelove opened this issue May 27, 2024 · 0 comments

Comments

@clementinelove
Copy link

guard let string = String(data: CDATABlock, encoding: .utf8) else {

contents of this XML document shouldn't always be treated as UTF-8 Encoding, instead it should be decoded according to the encoding specified by the document, or, perhaps let the FeedParser accept a encoding argument.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant