diff -r 1c0e262c4ab5 -r c8d5e809ffdb web/ldt/ldt_utils/views.py --- a/web/ldt/ldt_utils/views.py Thu Jun 10 19:19:41 2010 +0200 +++ b/web/ldt/ldt_utils/views.py Thu Jun 10 19:58:34 2010 +0200 @@ -203,9 +203,9 @@ def project_json(request, project): - mimetype = request.REQUEST.get("mimetype") + mimetype = request.REQUEST.get("mimetype").encode("utf-8") if mimetype is None: - mimetype = u"application/json; charset=utf-8" + mimetype = "application/json; charset=utf-8" resp = HttpResponse(mimetype=mimetype) resp['Cache-Control']='no-cache, must-revalidate'