Read the statement by Michael Teeuw here.
Encoding issues with RSS feed on Newsfeed module
-
I’m trying to display a Brazilian new source on the default newsfeed and have a working RSS link, but characters like Ã, É, etc. keep showing up as a diamond with a question mark. The default encoding in newsfeed.js is (encoding: “UTF-8”), and I tried adding this to the default newsfeed parameters in config.js as well. I’m a newbie to .js and think this has something to do with the fetcher.js file, but I’m not sure how to fix it. Any help is appreciated!
-
@moreno19 can you provide the link to the rss feed?
-
@strawberry-3.141 Here is the link: http://feeds.folha.uol.com.br/emcimadahora/rss091.xml
-
@moreno19 this works for me
{ title: "encoding test", url: "http://feeds.folha.uol.com.br/emcimadahora/rss091.xml", encoding: "ISO-8859-1" } -
@strawberry-3.141 That works for me as well now, looks like I didn’t run across ISO-8859 while I was researching. Thanks for the help!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login