"Italo Maia" <[EMAIL PROTECTED]> writes:

> Here's the model:
> class Noticia(SQLObject):
>
> data=DateTimeCol(default=datetime.now(),notNone=True)##criação da
> notícia
>     autor=UnicodeCol(length=40,notNone=True)
>     titulo=UnicodeCol(length=60,notNone=True)
>     mensagem=UnicodeCol(notNone=True)
>
> here's how i did in shell: Noticia(autor="Italo
> Maia",titulo="Test",mensagem=u"áéíóú")
> It should work shouldn't it?

Hmmm...  Why is your "criação" bugged and your text isn't?  I believe you're
mixing encodings...  What is declared in your template for the charset?

-- 
Jorge Godoy      <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
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