1. Sasha Vincic
  2. django-lfs

Commits

Sasha Vincic  committed ba8a1ca

utf8 -> utf-8 since IE has problems with JSON/Diazo

  • Participants
  • Parent commits 367d991
  • Branches default

Comments (0)

Files changed (2)

File lfs/cart/views.py

View file
     cart_changed.send(cart, request=request)
 
     return HttpResponse(cart_inline(request),
-                        content_type='application/json; charset=utf8')
+                        content_type='application/json; charset=utf-8')
 
 
 def refresh_cart(request):
     }, cls=LazyEncoder)
 
     return HttpResponse(result,
-                        content_type='application/json; charset=utf8')
+                        content_type='application/json; charset=utf-8')
 
 
 def check_voucher(request):
     })
 
     return HttpResponse(result,
-                        content_type='application/json; charset=utf8')
+                        content_type='application/json; charset=utf-8')

File lfs/checkout/views.py

View file
         "html": (("#cart-inline", cart_inline(request)),)
     })
 
-    return HttpResponse(result, content_type='application/json; charset=utf8')
+    return HttpResponse(result, content_type='application/json; charset=utf-8')
 
 
 def changed_checkout(request):
         "cart": cart_inline(request),
     })
 
-    return HttpResponse(result, content_type='application/json; charset=utf8')
+    return HttpResponse(result, content_type='application/json; charset=utf-8')
 
 
 def changed_invoice_country(request):