Rob Wolfe wrote:
>
> You have to know the encoding of user input and then you
> can use ``input_encoding`` and ``output_encoding`` parameters
> of ``Template``. Mako internally handles everything as Python unicode
> objects.
> For example:
>
> t = Template(filename="templ.mako", input_encoding="i
[EMAIL PROTECTED] wrote:
> Hi
>
> I have a problem with encoding non-ascii characters in a web
> application. The application uses Paste and Mako.
>
> The code is here: http://www.webudkast.dk/demo.txt
>
> The main points are:
>
> After getting some user generated input using
> paste.request.parse
Hi
I have a problem with encoding non-ascii characters in a web
application. The application uses Paste and Mako.
The code is here: http://www.webudkast.dk/demo.txt
The main points are:
After getting some user generated input using
paste.request.parse_formvars, how should this be correctly save