On Sat, Jun 30, 2007 at 11:55:25AM -0300, Walter Cruz wrote:
> I'm getting this error:
> 
> <type 'exceptions.UnicodeDecodeError'>: 'ascii' codec can't decode
> byte 0xc3 in position 79: ordinal not in range(128) the form was
> passed in as an encoded string, but some data or error messages were
> unicode strings; the form should be passed in as a unicode string

Depends on where that error occurs. Can you post a complete traceback?

> How do I set the form to be unicode?

Use the

# -*- coding: utf-8 -*-

preamble in the first line of your templates.

 Christoph


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to