Em Sexta 23 Fevereiro 2007 13:59, Tobias Brandvik escreveu:
> Hi,
>
> I've looked through a bunch of old posts on problems with kid and
> unicode, but couldn't find anything that worked for me - hence another
> post.
>
> I think I have everything set up to use utf-8 encoding (mysql uses
> utf-8 and model.py uses UnicodeCol). I can save text from forms into a
> mysql database just fine (the text shows up ok in Catwalk). However,
> whenever I pass some unicode text from the database through a kid
> template, the output in the browser is garbled. If I fetch text
> directly from the database as a json structure without going through a
> Kid template then everything is ok.
>
> Does anyone have any ideas about what might be wrong?

What's the encoding in your templates?  What have you told your browser you're 
sending him?

-- 
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to