Solved the issue.
Jorge Godoy wrote:
> "viyyer" <[EMAIL PROTECTED]> writes:
>
> Use UnicodeString as your validator.  And use UTF-8 as the content-type of
> your pages.

I am using the utf-8 as content type.

I had to change the default encoding from 'ascii' to 'utf8'. I'm just
curious if it makes sense having all the TG stubcode with 'utf8'
default
encoding enabled.

one needs to have this in the start-projectname ( or
projectname-start.py in TG<0.9)

import sys
reload(sys)
sys.setdefaultencoding('utf8')

what say ?
cheers
Vivek


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to