본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Encoding + sign in keyword search

  • 2 답장
  • 7 이 문제를 만남
  • 6 보기
  • 최종 답변자: Shawna

more options

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?

모든 댓글 (2)

more options

선택된 해결법

more options

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