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

      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!

      strawberry 3.141S 1 Reply Last reply Reply Quote 0
      • strawberry 3.141S Offline
        strawberry 3.141 Project Sponsor Module Developer @moreno19
        last edited by

        @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 Reply Quote 0
        • M Offline
          moreno19 @strawberry 3.141
          last edited by

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

          strawberry 3.141S 1 Reply Last reply Reply Quote 0
          • strawberry 3.141S Offline
            strawberry 3.141 Project Sponsor Module Developer @moreno19
            last edited by

            @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 Reply Quote 0
            • M Offline
              moreno19 @strawberry 3.141
              last edited by

              @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
              • First post
                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