Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

Encoding + sign in keyword search

  • 2 respostas
  • 7 têm este problema
  • 87 visualizações
  • Última resposta por Shawna
  • Resolvido

I'm trying to figure out how I can use a + sign when using a keyword search.

Let's say I have google setup as a keyword search to google.com

google 2+2 -> http://www.google.com/search?hl=en&source=hp&biw=&bih=&q=2+2 (so 2 2)

Ok, I'll encode the +. google 2%2b2 -> http://www.google.com/search?hl=en&source=hp&biw=&bih=&q=2%252b2

So I'm stumped... How do I get the + to work in the keyword search?

I'm trying to figure out how I can use a + sign when using a keyword search. Let's say I have google setup as a keyword search to google.com google 2+2 -> http://www.google.com/search?hl=en&source=hp&biw=&bih=&q=2+2 (so 2 2) Ok, I'll encode the +. google 2%2b2 -> http://www.google.com/search?hl=en&source=hp&biw=&bih=&q=2%252b2 So I'm stumped... How do I get the + to work in the keyword search?

Todas as respostas (2)

Solução escolhida

Excellent... %S fixes it. With %S (instead of %s), the %2b doesn't get double encoded, like it does with %s.