title: how to have unicode characters in django url?
body: <p>My Url conf is as follows</p>
  
  <pre><code>url(ur'^phrase/(?P&lt;lang&gt;[_A-Za-z]+)/(?P&lt;phrase&gt;[%A-Za-z0-9]+)/$', 'gs.langdb.views.phrases'),
  </code></pre>
  
  <p>Views.phrases returns JSON object  </p>
  
  <pre><code>def phrases(request,lang,phrase):                                                               
  langs = Langauges.objects.all().values(
      'language',
      'lang_code')
  lang_list = []
  try:                                              
      map(lambda x: lang_list.append(x),langs)
      json = simplejson.dumps(lang_list)
      return HttpResponse(json, mimetype='application/json')
  except TypeError:
      print "Can't convert language to Json \n"
  </code></pre>
  
  <p>My View is as follows:-</p>
  
  <pre><code>$("#phrase").autocomplete({
      source: function(request,response){
          var selectedValue = document.getElementById("language").value;
          $.ajax({
               url: "/phrase/"+selectedValue+"/"+request.term,
               dataType : 'json',
               type : 'GET',
               data : {},
               success : function(data,selectedValue) {
  
               }
         });
      },
  });
  
  &lt;div class="ui-words"&gt;
         &lt;label for="phrase"&gt;Input word: &lt;/label&gt;
         &lt;input id="phrase"&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>String which i used for testing, अनिश</p>
  
  <p>Error which i have got in the server log </p>
  
  <p>"GET /phrase/Mr_in/%E0%A4%85%E0%A4%A8%E0%A4%BF%E0%A4%B6 HTTP/1.1" 404 2275</p>
  
  <p>I am not sure whether where i need to specify encodings?
  Any help in this issue will be appriciated </p>