MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    SOLVED Newsfeed displays umlauts incorrectly

    Troubleshooting
    2
    7
    190
    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.
    • R
      robiv8 last edited by

      Newsfeed displays umlauts incorrectly in the second column.

      Help please.

      Bildschirmfoto 2022-11-14 um 22.12.42.png

      {
      			module: "newsfeed",
      			position: "bottom_bar",
      			config: {
      			updateInterval: "15000",
      			reloadInterval: "300000",
      				feeds: [
      					{
      						title: "Stuttgarter Zeitung",
      						url: "http://www.stuttgarter-nachrichten.de/stuttgart.rss.feed",
      						encoding: "UTF-8",
      					}
      				],
      				showSourceTitle: true,
      				showPublishDate: true,
      				broadcastNewsFeeds: true,
      				broadcastNewsUpdates: true,
      				showDescription: true,
      			}
      		},
      
      S 1 Reply Last reply Reply Quote 0
      • R
        robiv8 @sdetweil last edited by robiv8

        @sdetweil
        Oh! OK Schade

        Danke für die Hilfe

        Update:
        I was able to solve it,
        At the end of the defaults of the newsfeed.js = dangerouslyDisableAutoEscaping: true

        S 1 Reply Last reply Reply Quote 0
        • S
          sdetweil @robiv8 last edited by

          @robiv8 change the encoding to

          encoding: "ISO-8859-1",
          

          see issue

          https://github.com/MichMich/MagicMirror/issues/2712

          Sam

          Create a working config
          How to add modules

          R 1 Reply Last reply Reply Quote 0
          • R
            robiv8 @sdetweil last edited by robiv8

            i put this but no change, now both lines are incorrect 😞

            reloadInterval: "300000",
            				feeds: [
            					{
            						title: "Stuttgarter Zeitung",
            						url: "http://www.stuttgarter-nachrichten.de/stuttgart.rss.feed",
            						encoding: "ISO-8859-1",
            					}
            
            S 1 Reply Last reply Reply Quote 0
            • S
              sdetweil @robiv8 last edited by

              @robiv8 yes, I followed more of the issue, and we don’t really have a fix…

              Sam

              Create a working config
              How to add modules

              R 1 Reply Last reply Reply Quote 0
              • R
                robiv8 @sdetweil last edited by robiv8

                @sdetweil
                Oh! OK Schade

                Danke für die Hilfe

                Update:
                I was able to solve it,
                At the end of the defaults of the newsfeed.js = dangerouslyDisableAutoEscaping: true

                S 1 Reply Last reply Reply Quote 0
                • S
                  sdetweil @robiv8 last edited by

                  @robiv8 if it’s in defaults u can set it in config.js…
                  don’t edit our files… breaks updates

                  I didn’t think we had implemented that! cool

                  Sam

                  Create a working config
                  How to add modules

                  R 1 Reply Last reply Reply Quote 0
                  • R
                    robiv8 @sdetweil last edited by

                    @sdetweil
                    OK Thanks for the tip

                    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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                    This forum is using NodeBB as its core | Contributors
                    Contact | Privacy Policy