i meant

<div> ${c.name}</div>

On Nov 18, 1:16 am, eleith <[EMAIL PROTECTED]> wrote:
> i'm using the latest pylons/mako/sqlalchemy with most of the defaults
> in place.
>
> i built a form that submitted the following -> " étudiant." which was
> then added into a table using sqlalchemy
>
> that works fine.
>
> then, when i try to print it out in a mako template as such
>
> <div>
>  c.name
> </div>
>
> where c.name = " étudiant." as retrieved from the sqlalchemy query,
> mako gives me the codec can't decode byte error.
>
> based on the interactive debugging, c.name is of type unicode. i've
> gone through the basic unicode documents in the pylons docs, but maybe
> it's late and maybe i'm a little tired, as i can't seem to fix this.
>
> anyone got an easy solution for this one?
--~--~---------~--~----~------------~-------~--~----~
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