GNOME Bugzilla – Bug 672707
epiphany should display urls in non-latin languages in a readable form
Last modified: 2012-10-08 03:08:30 UTC
Showing them as 5 escaped characters is not acceptable. A side by side comparison of how epiphany does it and how iceweasel/firefox does it is attached. Users expect to be able to read urls in their language and current implementation is a big i18n let down.
Created attachment 210455 [details] epiphany vs iceweasel - non-latin urls
Created attachment 211272 [details] [review] Unescape strings for link messages and entry text URLs and link messages are shown as escaped strings, making it unreadable most of the times. Unescape these strings to correct that.
Problem with this is that copy-pasting from the location entry would not give a usable URL. When copying the URL should be escaped.
Also I'm not sure there's any reason to not do this in GTK+ itself?
(In reply to comment #4) > Also I'm not sure there's any reason to not do this in GTK+ itself? This is not necessarily the desired behavior, but could be chosen through something like gtk_entry_unescape_text. Again, it would not be necessarily desired to then escape the entry text on cutting or copying. Given the current GtkEntry behavior[1] when copying, cutting and pasting the entry content, the solution would seem to be to connect to copy-clipboard and cut-clipboard signals and escape the clipboard content after the entry text was put into it. In the opposite manner, connecting to the paste-clipboard signal, the newly-pasted entry content would be unescaped. [1] http://git.gnome.org/browse/gtk+/tree/gtk/gtkentry.c#n5202 to #n5252
*** Bug 677382 has been marked as a duplicate of this bug. ***
*** Bug 424851 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 596399 ***