Lawrence Oluyede ha scritto:
> charset = _get_charset(content_type) or "utf-8"
> -
> +charset = 'iso-8859-1' # XXX Google madness?
> return fp.read().decode(charset)
>
C'è un problema qui.
Come mai Google usa iso-8859-1?
Come si fa a sapere quale encoding usare?
Vi ricordo che Goo
> charset = _get_charset(content_type) or "utf-8"
> -
> +charset = 'iso-8859-1' # XXX Google madness?
> return fp.read().decode(charset)
>
C'è un problema qui.
Come mai Google usa iso-8859-1?
Come si fa a sapere quale encoding usare?
Vi ricordo che Google nel content type restituis
[EMAIL PROTECTED] ha scritto:
Author: manlio
Date: Thu Jan 11 15:07:11 2007
New Revision: 258
Modified:
code/pythonisti/trunk/pythonisti/geo/google.py
code/pythonisti/trunk/pythonisti/geo/models.py
Log:
Corretta gestione encoding
Modified: code/pythonisti/trunk/pythonisti/geo/google.py
==