-
Notifications
You must be signed in to change notification settings - Fork 15
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
Accent issue with rss feed #48
Comments
are you only experiencing the accents displaying wrong in the title? |
my bad I see it is also wrong in the footer for your image.. let me take a further look in to this |
When building our post data we sanitize our description content but leave the rest as it is. This is why the description shows accents correctly but the title and footer do not I should have an update pushed for this soon |
hey @JPnux I'm reopening this. I fixated on the wrong thing here. As your info shows, their server reports "ISO-8859-1" encoding and the RSS shows "UTF-8" encoding. FeedCord is reading the server response, thus using ISO-8859-1 encoding on a UTF-8 encoded feed and causing garbled text. Apologies again as I glanced this portion too quickly. The best solution would be to notify the site owner of this. If they changed it then it would just work normally. However, I will implement a small patch that compares the server headers & feed prologue, and trusts the feed information for decoding if they're different. This could be helpful in the future for any other misconfigured server/feeds |
I was able to remedy the issue by comparing the Server Encoding & The Feed Encoding - if they are different, trust the Feed encoding. I was able to validate the results on my end This should help handle it and any future feeds that are misconfigured like this Expect this patch to be rolled out today after I determine the fix for #50 |
Hello and thank you for version 3. It's amazing ! Very happy to see active development resuming ! Wonderful project.
Feedcord works well. I have 3 RSS feeds with different webhooks. Everything works.
I just have one problem with accents in an RSS feed (French language).
Here is the RSS feed : https://www.easybourse.com/feeds/news/fr/
It appears like this on Discord:

Is there a solution to have the accents displayed correctly?
I checked the feed on this page : https://validator.w3.org/feed/check.cgi?url=https%3A%2F%2Fwww.easybourse.com%2Ffeeds%2Fnews%2Ffr%2F
Result :
This is a valid RSS feed.
Recommendations
This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations.
Feeds should not be served with the "text/html" media type
The problem is here > Your feed appears to be encoded as "UTF-8", but your server is reporting "ISO-8859-1"
Help here ? https://validator.w3.org/feed/docs/warning/EncodingMismatch.html
I notice this is a SERVER PROBLEM. Is there a chance you can correct it ?
Thank you
Below, output of "curl https://www.easybourse.com/feeds/news/fr/ "
The text was updated successfully, but these errors were encountered: