Closed ghost closed 7 years ago
It might be that quick-xml, the XML library that this library uses, might not support non-UTF8 content. I haven't looked too closely, but it looks like all of their tests are UTF8 based.
@frewsxcv Yeah, it's true. I've created an issue tafia/quick-xml#46
I have just submitted a PR in quick-xml to support different encodings. The API is not very nice as people need to handle it manually somehow (the caller owns the decoder) but it should not be a very big change in existing code.
I would appreciate if you could give me a feedback before merging it.
Wow, great! I appreciate the effort, but I'm a bit busy right now and won't be able to look too closely at that PR anytime soon, so don't let me hold it up. On a side note, I'm just going to add both of you to this organization in case either of you want to contribute directly to this project. Feel free to decline.
@frewsxcv, Sorry, but I have not enough time. Thanks for offering though.
@Kilte No worries! :)
Hello guys. After a very long period working on other projects I've finally updated quick-xml to v0.6.0, This is a major upgrade with some nice performance improvements and also adds decoding support. I'll probably make a PR to upgrade rss repo soon.
Hello! As far as I understand, it doesn't work with any non UTF-8 content. KOI8-R for example: http://www.opennet.ru/opennews/opennews_all.rss
Is it possible to add support for other encodings?