>      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 restituisce due encoding:
utf-8 e iso-8859-1

Secondo me sono semplicemente i due che supporta.

--
Lawrence
http://www.oluyede.org/blog
http://www.neropercaso.it
_______________________________________________
Python mailing list
Python@lists.python.it
http://lists.python.it/mailman/listinfo/python

Rispondere a