Bug#291889: characters not correctly passed to google search
El Domingo 23 Enero 2005 21:42, Alejandro Exojo escribió:
> El Domingo, 23 de Enero de 2005 20:53, Jean Darcoux escribió:
> > As a solution, I recommand to replace characters like '+' by there
> > corresponding code (like %2B in the case of '+'). The later example
> > should then display the URL
> > http://www.google.com/search?q=C%2B%2B&ie=UTF-8&oe=UTF-8
>
> The problem, is not that characters are badly encoded, is that google uses
> "+" and "-" as metacharacters for saying some things, like this:
Do not confuse the string with the enconding used to transfer the string. In
URL arguments the + character is used as space, and the + is encoded as %2B
(as Jean Darcoux states)
> http://www.google.com/search?q=c+-news&ie=UTF-8&oe=UTF-8
With that google understand "c -news".
> Since there is no way of guessing what the user wants to search, he should
> use quotes when a literal "+" wants to be included in the search.
Also, do not confuse urls with bash :) (bad joke, I know, sorry)
Konqueror works correctly in unstable respect this bug. Please, provide more
info about your version. BTW, you may use reportbug, witch takes this info
for you, and more.
Reply to: