[<< wikibooks] Karrigell/Manage encodings
The encoding of a page can be set by the built-in name ENCODING. It will define the Content-type header sent by the server
It affects both the encoding used to encode the data submitted by a form, and the encoding used to transform the bytestring received on the network connection to a string printed in the browser
Here is an example :

By default, ENCODING is set to sys.getdefaultencoding()