platform default language and encoding

Gillou nospam at
Wed Aug 21 16:00:38 CEST 2002

"Radovan Garabik" <spam at> a écrit dans le message de
news: ackvja.jik.ln at


> Rule number one: servers should not be locale dependent. Never.
> Or in other words, they should work in UTF-8 locale, if
> you need special locale functions. And clients should be able to convert
> the output into user locale, if necessary.

My solution is not the most appropriate but I don't think that browsers are
capable of translating text provided by a server ;-)
That's the reason why the localisation (encoding + language) should be
driven from the appropriate HTTP headers sent by the browser.
OK, I'll look for something else...


More information about the Python-list mailing list