if I use the following function:

        def notfound():
        return web.notfound(render.notfound(level = "", page = u" éäß ... ∀y.
∃α. f(α, y) ∊ Γ"))

with this template :

        $def with (level, page)
        <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
        "http://www.w3.org/TR/html4/strict.dtd";>
        <html>
        <head>
        </head>
        <body>
        <h1>Not Found</h1>
        <p>$level $page</p>
        </body>
        </html>

Special characters and accents are displayed correctly. You were
right.The problem is not the encoding, but from my use of the function
notfound.


I try desperately to display text from a raise web.notfound ("une
entrée") that can be integrated with the default template function
notfound.
Your example interests me because it can integrate the name of the
requested page in the template, which resembles what I would do with a
custom text per page.

Can you explain how you did it ?

thank you for your answers.

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to