how to have unicode characters in django url?
My Url conf is as follows url(ur'^phrase/(?P<lang>[_A-Za-z]+)/(?P<phrase>[%A-Za-z0-9]+)/$', 'gs.langdb.views.phrases'), Views.phrases returns JSON object 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" My View is as follows:- $("#phrase").autocomplete({ source: function(request,response){ var selectedValue = document.getElementById(