Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6695097
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T06:10:50+00:00 2026-05-26T06:10:50+00:00

I build a customized search web page using some other search engine. like. For

  • 0

I build a customized search web page using some other search engine. like.

For client side am encode the search terms and send to the my server using

http://xxx.appspot.com/search?q=encodeUIComponent(qTerms)

At server side(appengine – python) am decoding the text using urllib

like qTerms= urllib.unquote_plus(qTerms)

and again i encoded the sterms.
using qTerms= urllib.quote_plus(qTerms)

now i send qTermsto the another server from my server and i get xml response.

Above designs works well for pure engilsh words when i pass the non english words its givin error like below:

Traceback (most recent call last): 
File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/_webapp25.py",          line 701, in __call__
    handler.get(*groups)
  File "/base/data/home/apps/s~searchepic/1.353951740301902288/search.py", line 124, in get
    qTerms = urllib.quote_plus(qTerms)
  File "/base/python_runtime/python_dist/lib/python2.5/urllib.py", line 1222, in quote_plus
    return quote(s, safe)
  File "/base/python_runtime/python_dist/lib/python2.5/urllib.py", line 1214, in quote
    res = map(safe_map.__getitem__, s)
KeyError: u'\u0c15' 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T06:10:50+00:00Added an answer on May 26, 2026 at 6:10 am

    You need to pass quote() ASCII (str) string instead of unicode string.
    You porbbley need to call term.encode('utf8') and pass the result to quote()

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to build some smaller scale but hightly customized documentation sites for
I work on a web-based tool where we offer customized prints. Currently we build
SharePoint: How to apply a customised masterpage to Sharepoint build-in search results page (OSSSearchResults.aspx)
Is it possible to build a fully customized Session State Mode instead of using
I build a css file using PHP which allows me to easily customize the
I build websites for a small-ish media company. Unfortunately, around 45-50% of our client
In our project, we'd like to have our TFS build put each project into
Some Background I have been using Git for a while now. The projects that
I want build a search service for one particular thing. The data is freely
I have one customized list MyList that extends ArrayList, like this: class MyList extends

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.