[Zope-CMF] Charsets

Dieter Maurer dieter at handshake.de
Fri Dec 19 13:20:26 EST 2008


Charlie Clark wrote at 2008-12-19 11:35 +0100:
> ...
>> Usually, the client will use the charset it has found in the
>> page containing the form. Thus, unless this charset has been
>> determined automatically from the "Accept-Charset" header,
>> it is merely accidental when the client preferences ("Accept-Charset")
>> is able to guess the charset correctly.
>
>
>Right. So I must be doing something wrong if all Zope has to go on for  
>decoding the form is the Accept-Charset? How can I set an encoding for  
>the form?

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.



-- 
Dieter


More information about the Zope-CMF mailing list