[pyar] Tema de encoding con Django en Apache

Agustin Casiva casivaagustin en gmail.com
Jue Ene 31 15:11:25 ART 2013


A ver si esto ayuda

http://stackoverflow.com/questions/9387910/losing-locale-when-running-fcgi-script


2013/1/31 Sebastian Bassi <sebastian.bassi en globant.com>

> Tengo una página que se genera dinamicamente con Django.
> En el servidor local (WSGIServer/0.1 Python/2.7.2+) anda todo bien.
> Cuando corro lo mismo en Apache (Apache/2.2.22 (Ubuntu)) un caracter se vé
> mal.
> Bajo el server local es un apostrofe (’) pero en Apache se vé como una
> a con acento circunflejo (â).
> La DB es la misma, le saqué gzip deflate al server ya que el server
> local no lo usaba y queria tener todo igual, y sigue pasando lo mismo.
> Estos son los 2 headers de respuesta de los servers:
>
> Local:
>
> Content-Type:text/html; charset=utf-8
> Date:Thu, 31 Jan 2013 14:39:29 GMT
> Server:WSGIServer/0.1 Python/2.7.2+
> Vary:Cookie
>
> Apache:
>
> Authentication-Info: rspauth="e915459579cc48009537ec1ff01d71",
> cnonce="a9fd35193ed50", nc=000000aa, qop=auth
> Connection: Keep-Alive
> Content-Type: text/html; charset=utf-8
> Date: Thu, 31 Jan 2013 16:41:38 GMT
> Keep-Alive: timeout=5, max=100
> Server: Apache/2.2.22 (Ubuntu)
> Transfer-Encoding: chunked
> Vary: Cookie
>
> ¿Que mas puede verificar?
> _______________________________________________
> pyar mailing list pyar en python.org.ar
> http://listas.python.org.ar/listinfo/pyar
>
> PyAr - Python Argentina - Sitio web: http://www.python.org.ar/
>
> La lista de PyAr esta Hosteada en USLA - Usuarios de Software Libre de
> Argentina - http://www.usla.org.ar




-- 
Ing. Casiva  Agustin

Mail/Msn/GTalk/Jabber: casivaagustin en gmail.com
Skype: casivaagustin
CEL : 054-0362-154270639
Site: http://www.casivaagustin.com.ar
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://listas.python.org.ar/pipermail/pyar/attachments/20130131/69599101/attachment.html>


More information about the pyar mailing list