aeonofdiscord / ferret

A gopher client
Other
8 stars 2 forks source link

Invalid UTF-8 string passed to pango_layout_set_text() #8

Closed tastytea closed 6 years ago

tastytea commented 6 years ago

Whenever I click on a link, ferret emits the warning: (ferret:9074): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() and the adressbar shows gibberish, copy-pasted it is: \Uffffffff or p- or \UffffffffD I tried on gopher://gopher.quux.org and gopher://tilde.town. The error message in the GTK-interface is: Could not open address.

screenshot_2017-12-18t15 10 40

tastytea commented 6 years ago

Copying an URL in the adress bar retrieves the page though.

aeonofdiscord commented 6 years ago

Okay, I think https://github.com/aeonofdiscord/ferret/commit/4c4a7b68b8aac13e34dcab242d746a7f9b4f7521 should fix this.