do-plugins team mailing list archive
-
do-plugins team
-
Mailing list archive
-
Message #00221
[Bug 279292] [NEW] OpenSearch encodes special chars incorrectly
Public bug reported:
Version: 1.1
I have a German system, and when I use German umlauts in gnome do using
OpenSearch plugins, the umlauts get incorrectly encoded. This happens
not only for umlauts, also for other Unicode chars.
Searching for "Täst" using OpenSearch + Google gives me this URL: http://www.google.com/search?q=T%u00f6st&ie=utf-8&oe=utf-8&aq=t
As you can see, the search results don't contain the word "Täst".
Same for "日本語" ("Japanese Language" in Japanese). If you select the text
and search for the selection using gnome do/OpenSearch, it will result
in the URL
http://www.google.com/search?q=%u65e5%u672c%u8a9e&ie=utf-8&oe=utf-8&aq=t
, which is not the right search term.
The encoding happens in OpenSearchItem.cs, but I haven't been able to
find out what exactly is wrong with the encoding. I guess the OpenSearch
plugin should just *not* encode special chars. The question is if that
would break anything else? Maybe that only works for UTF-8 systems
(which is the majority in Linux anyway?).
** Affects: do-plugins
Importance: Undecided
Status: New
--
OpenSearch encodes special chars incorrectly
https://bugs.launchpad.net/bugs/279292
You received this bug notification because you are a member of GNOME Do
Plugins Team, which is subscribed to GNOME Do Plugins.
Follow ups
References