I see it messed up in catwalk and a kid template page I made. If I take off the use_unicode=1 from the dburi, then I see it right in catwalk and in the template.
But what I can't understand, is why in the controllers.py I do
    p = Project(name=project_name, user=user)
and it fires an UnicodeEncodeError

and in the webconsole of the toolbox I can do this:
>>> u = User.get (1)
>>> p = Project(name="cão", user=u)

with no problems.



On 7/12/06, Robin Haswell <[EMAIL PROTECTED]> wrote:

Bruno Silva wrote:
> but this
> time the string appears all messed up in all the places. example: the
> word 'cão' appears as 'cão'.

Messed up where? I've found phpMyAdmin doesn't accurately represent
unicode data in the database. If it's messed up when viewing in CatWalk
then you have a problem.

-Rob





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