On Friday 04 May 2007 12:45, Johnny Blonde wrote: > this is actually the code: > http://paste.turbogears.org/paste/1256 > > nothing special i think...?
Well, apart from you not passing the subject and the rendered not as unicode-objects, but as byte-strings of course. Which will result in the byte-string being encoded to a unicode object with the standard encoding - ascii. And of course that fails. I do it like this: message.rich = unicode(kid_engine.render(params, template='varms.templates.sales.groupvisits_email'), 'utf-8') Diez --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

