[Zope-CMF] CMF Tests: 6 OK

2009-01-18 Thread CMF Tests Summarizer
Summary of messages to the cmf-tests list. Period Sat Jan 17 12:00:00 2009 UTC to Sun Jan 18 12:00:00 2009 UTC. There were 6 messages: 6 from CMF Tests. Tests passed OK --- Subject: OK : CMF-2.1 Zope-2.10 Python-2.4.5 : Linux From: CMF Tests Date: Sat Jan 17 21:23:01 EST 2009 URL: ht

Re: [Zope-CMF] Charsets

2009-01-18 Thread Charlie Clark
Am 29.12.2008 um 15:01 schrieb Charlie Clark: >> The site should deliver all pages containing forms (if possible even >> all pages) with a single charset, let's call it the "site charset". >> Then it uses this same charset to interpret form data. > > > While I understand this, I'm a bit at a loss

Re: [Zope-CMF] Charsets

2009-01-18 Thread Dieter Maurer
Charlie Clark wrote at 2009-1-18 15:49 +0100: > ... >I would suggest that we work towards enforcing UTF-8 in where possible >but at the very least add the accept-charset attribute to forms and >use the portal's default_charset for this. > >I'd very much appreciate your comments on this. The "A

Re: [Zope-CMF] Charsets

2009-01-18 Thread Charlie Clark
Am 18.01.2009 um 20:36 schrieb Dieter Maurer: > The "Accept-Charset" request header should *never* be used > to guess a charset at the server side: > > "Accept-Charset" is a user preference which does not know > anything about charsets used by the server. > > If "utf-8" would not be treated wit

Re: [Zope-CMF] Charsets

2009-01-18 Thread yuppie
Hi Charlie! Charlie Clark wrote: > Am 29.12.2008 um 15:01 schrieb Charlie Clark: > > CMFDefault.utils > > def getBrowserCharset(request): > """ Get charset preferred by the browser. > """ > envadapter = IUserPreferredCharsets(request) > charsets = envadapter.getPreferredChar