Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QTextBrowser always shows URLs with extended characters in encoded form
Forum Update on Monday, May 27th 2025

QTextBrowser always shows URLs with extended characters in encoded form

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 3 Posters 386 Views
  • 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 Offline
    R Offline
    Robert Hairgrove
    wrote on last edited by
    #1

    Here is a snippet from HTML source I am displaying in a QTextBrowser widget:

    <dt>
    5 - Brückenkante:</dt>
    <dd>
    Eine Brückenkante, oder einfach Brücke genannt, ist eine Kante, die zu keinem Kreis oder Zyklus gehört. Die Entfernung einer Brückenkante im Graph führt zu einer Partitionierung des Graphs in genau zwei Komponenten.<br><br>
    Weitere Information kann man hier finden: <a href="https://de.wikipedia.org/wiki/Trenner_(Graphentheorie)#Brücke">https://de.wikipedia.org/wiki/Trenner_(Graphentheorie)#Brücke</a>.</dd>
    
    

    When I display this in Mozilla Firefox, I see this:
    HTML_Bruecke_Firefox.png

    However, QTextBrowser shows it like this:
    HTML_Bruecke_QTextBrowser.png

    Is there some trick to getting the Umlaut characters to display as plain text? The link does work properly, but it is hard on the eyes.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Just a wild idea, did you try to use the Unicode notation for that char ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • R Offline
        R Offline
        Robert Hairgrove
        wrote on last edited by
        #3

        Sorry about the false alarm ... my QTextBrowser was using a stale resource, everything works now!

        Christian EhrlicherC 1 Reply Last reply
        0
        • R Robert Hairgrove

          Sorry about the false alarm ... my QTextBrowser was using a stale resource, everything works now!

          Christian EhrlicherC Offline
          Christian EhrlicherC Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Robert-Hairgrove Then please mark this topic as solved,thx :)

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          R 1 Reply Last reply
          0
          • Christian EhrlicherC Christian Ehrlicher

            @Robert-Hairgrove Then please mark this topic as solved,thx :)

            R Offline
            R Offline
            Robert Hairgrove
            wrote on last edited by
            #5

            @Christian-Ehrlicher I already marked it as solved about 2 hours before you posted this message. Strange that you didn't see it??

            Christian EhrlicherC 1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              There's currently a caching issue and that's likely what happened to @Christian-Ehrlicher.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • R Robert Hairgrove

                @Christian-Ehrlicher I already marked it as solved about 2 hours before you posted this message. Strange that you didn't see it??

                Christian EhrlicherC Offline
                Christian EhrlicherC Offline
                Christian Ehrlicher
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @Robert-Hairgrove the caching issue is currently really a big problem - since I was aware of it I even hit 'F5' before I wrote the post but it did not help :)

                Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                Visit the Qt Academy at https://academy.qt.io/catalog

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved