Closed vorons closed 1 month ago
Could you please provide the RSS feed URL so I can take a closer look and debug this issue?
Could you please provide the RSS feed URL so I can take a closer look and debug this issue?
Hmmm... based on my testing, the server successfully fetches the feed, but the response contains those unknown character symbols. This suggests there may be an issue with character encoding on the server or the feed source.
Sorry for the delayed response.
This RSS feed uses the windows-1251
encoding:
<?xml version="1.0" encoding="windows-1251"?>
But the rss-parser
library only supports those encodings that are natively supported by NodeJS:
https://stackoverflow.com/questions/14551608/list-of-encodings-that-node-js-supports
The developers of rss-parser
suggest using iconv
, but I'm not sure it's a good idea.
Thank you so much! The latest version fixes this issue and works with this text encoding.