element-hq / element-hq/element-integration-manager

Feeds doesn't respect RSS codepage

Open
#130 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
No language data
Stars
11
Forks
2
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
I added a couple of RSS feeds and realized that the bot doesn't respect the encoding set in the source.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to Feeds
2. Add a new feed with URL https://www.opennet.ru/opennews/opennews_all.rss Use the template $FEEDNAME: $LINK. $SUMMARY
3. Wait till the new entry arrives
4. See error

**Expected behavior**
Correct converting feed entries to UTF-8 from the encoding set by the source feed

**Screenshots**![Screenshot_20241106-105817](https://github.com/user-attachments/assets/7c559e9a-bca4-4292-a272-94f335dcb240)

**Client:**
- Matrix Client and Version: Element 1.6.20
- Browser: Firefox

**Additional context**
This particular feed has the encoding set in its header: ``, but it's being ignored by the bot. Another one I tried had encoding="windows-1251", and it didn't work right either

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.