• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Encoding issues with RSS feed on Newsfeed module

Scheduled Pinned Locked Moved Solved Development
5 Posts 2 Posters 3.0k Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    moreno19
    last edited by Mar 26, 2017, 8:47 PM

    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!

    S 1 Reply Last reply Mar 27, 2017, 10:28 AM Reply Quote 0
    • S Offline
      strawberry 3.141 Project Sponsor Module Developer @moreno19
      last edited by Mar 27, 2017, 10:28 AM

      @moreno19 can you provide the link to the rss feed?

      Please create a github issue if you need help, so I can keep track

      M 1 Reply Last reply Mar 27, 2017, 2:11 PM Reply Quote 0
      • M Offline
        moreno19 @strawberry 3.141
        last edited by Mar 27, 2017, 2:11 PM

        @strawberry-3.141 Here is the link: http://feeds.folha.uol.com.br/emcimadahora/rss091.xml

        S 1 Reply Last reply Mar 27, 2017, 2:25 PM Reply Quote 0
        • S Offline
          strawberry 3.141 Project Sponsor Module Developer @moreno19
          last edited by Mar 27, 2017, 2:25 PM

          @moreno19 this works for me

          {
            title: "encoding test",
            url: "http://feeds.folha.uol.com.br/emcimadahora/rss091.xml",
            encoding: "ISO-8859-1"
          }
          

          Please create a github issue if you need help, so I can keep track

          M 1 Reply Last reply Mar 27, 2017, 2:29 PM Reply Quote 0
          • M Offline
            moreno19 @strawberry 3.141
            last edited by Mar 27, 2017, 2:29 PM

            @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!

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            1 / 1
            • First post
              1/5
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Sam, technical setup by Karsten.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy