Re: Locale and cookies

2005-05-03 Thread dagurp
Setting it to "C" worked fine. Thanks! -- http://mail.python.org/mailman/listinfo/python-list

Re: Locale and cookies

2005-05-02 Thread Klaus Alexander Seistrup
[EMAIL PROTECTED] wrote: > I tried to fix this by changing the locale back to "English" > before creating cookies and that works on Windows but not for > Linux. If I use "en_EN.ISO8859-1" it works on Linux but not > on Windows. How about setting locale to "C" or "POSIX"? -- Klaus Alexander Seis

Locale and cookies

2005-05-02 Thread dagurp
I'm doing a small mod_python project and I'm using a locale for my own language. This is not a problem until I start using cookies because the cookie module in mod_python uses time.strftime() to write the expiration times and therefore makes invalid cookies. I tried to fix this by changing the loca