Solved QTextBrowser always shows URLs with extended characters in encoded form
-
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:
However, QTextBrowser shows it like this:
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.
-
Hi,
Just a wild idea, did you try to use the Unicode notation for that char ?
-
Sorry about the false alarm ... my QTextBrowser was using a stale resource, everything works now!
-
@Robert-Hairgrove Then please mark this topic as solved,thx :)
-
@Christian-Ehrlicher I already marked it as solved about 2 hours before you posted this message. Strange that you didn't see it??
-
There's currently a caching issue and that's likely what happened to @Christian-Ehrlicher.
-
@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 :)