Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Parse Adapter - Ergebnis zeigt falsche Umlaute an

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Parse Adapter - Ergebnis zeigt falsche Umlaute an

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @kottdie last edited by

      @kottdie Da muss die Zeichenkodierung umformatiert werden.

      1 Reply Last reply Reply Quote 0
      • K
        kottdie @kottdie last edited by

        und was ist da genau zu tun ?

        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @kottdie last edited by Thomas Braun

          @kottdie
          Die Seite liefert wohl
          content="text/html; charset=utf-8"
          ab. Am einfachsten schaust du mal, ob dein System auch auf utf-8 läuft.
          Geht unter linux mit

          locale
          

          Im Idealfall kommt sowas dabei heraus:

          pi@raspberrypi:~ $ locale
          LANG=de_DE.UTF-8
          LANGUAGE=
          LC_CTYPE="de_DE.UTF-8"
          LC_NUMERIC="de_DE.UTF-8"
          LC_TIME="de_DE.UTF-8"
          LC_COLLATE="de_DE.UTF-8"
          LC_MONETARY="de_DE.UTF-8"
          LC_MESSAGES="de_DE.UTF-8"
          LC_PAPER="de_DE.UTF-8"
          LC_NAME="de_DE.UTF-8"
          LC_ADDRESS="de_DE.UTF-8"
          LC_TELEPHONE="de_DE.UTF-8"
          LC_MEASUREMENT="de_DE.UTF-8"
          LC_IDENTIFICATION="de_DE.UTF-8"
          LC_ALL=
          
          K 1 Reply Last reply Reply Quote 0
          • K
            kottdie @Thomas Braun last edited by

            @Thomas-Braun
            bekomme bei "locale" das gleiche was Du im Post aufzeigst. Im header der xml-Datei steht was von
            "<?xml version="1.0" encoding="ISO-8859-1"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>teXXas - Hauptsender, was l�uft jetzt?</title><link>https://www.texxas.de/tv/programm/jetzt/hauptsender/</link><description>Fernsehprogramm f�r Hauptsender, was l�uft jetzt?</description><language>de-de</language><pubDate>Sat, 23 May 2020 22:00:01 GMT</pubDate><managingEditor>info@texxas.de (teXXas Support)</managingEditor><ttl>5</ttl>sy:updatePerioddaily</sy:updatePeriod>sy:updateFrequency1</sy:updateFrequency>sy:updateBase2020-05-24T19:04:

            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @kottdie last edited by Thomas Braun

              @kottdie sagte in Parse Adapter - Ergebnis zeigt falsche Umlaute an:

              ISO-8859-1

              Die Daten kommen also in ISO-8859-1 an.
              Auf der Konsole kann man das mit iconv umkodieren. Wie man das in JavaSkript tut muss dir jemand anderes verraten.

              Homoran 1 Reply Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @Thomas Braun last edited by

                @Thomas-Braun sagte in Parse Adapter - Ergebnis zeigt falsche Umlaute an:

                Auf der Konsole kann man das mit iconv umkodieren. Wie das in JavaSkript tut muss dir jemand anderes verraten.

                ...und im parser Adapter wird es wohl so einfach gar nicht gehen.

                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @Homoran last edited by

                  @Homoran Gut möglich. Kenn den Adapter nicht. 🙂

                  Homoran 1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @Thomas Braun last edited by Homoran

                    @Thomas-Braun Das einzige was dort gehen würde, wenn man mit dem Aufruf des URL die Codierung mitgeben könnte, die die Antwort haben soll

                    1 Reply Last reply Reply Quote 0
                    • K
                      kottdie last edited by

                      wie müsste das aussehen ?

                      Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators @kottdie last edited by

                        @kottdie sagte in Parse Adapter - Ergebnis zeigt falsche Umlaute an:

                        wie müsste das aussehen ?

                        Das weiß ich eben nicht.
                        Nicht einmal ob so etwas überhaupt geht

                        1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @kottdie last edited by

                          @kottdie
                          Kannst ja auch mal versuchen den Ersteller des RSS-Feeds dazu zu bewegen, dass er da auf UTF-8 umstellt.

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post

                          Support us

                          ioBroker
                          Community Adapters
                          Donate
                          FAQ Cloud / IOT
                          HowTo: Node.js-Update
                          HowTo: Backup/Restore
                          Downloads
                          BLOG

                          463
                          Online

                          31.9k
                          Users

                          80.1k
                          Topics

                          1.3m
                          Posts

                          encoding http parser adapter
                          3
                          12
                          519
                          Loading More Posts
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes
                          Reply
                          • Reply as topic
                          Log in to reply
                          Community
                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                          The ioBroker Community 2014-2023
                          logo