Rune Hansen schrieb: > > On 14. des. 2006, at 16.01, Diez B. Roggisch wrote: > >>> No, Im afraid not. Not in this case. >>> The point was that I wanted to use the same method for "view" and >>> "html-mail" so I need the method to return the rendered KID template. >>> If I try to render the template directly in my thread using KID, KID >>> insists on using us-ascii to interpret the template. Perhaps I should >>> switch to genshi. >> I don't see where that might help, given that the expose decorator >> pukes >> at a place that doesn't seem to deal with the template at all. >> >> Why don't instantiate the template yourself? It's very easy, and then >> you can set the encoding yourself (however that works, I don't have >> the >> code before my inner eye) >> > Tried that. KID barfs on anything that doesn't fit in us-ascii - > that's why I'm going to try genshi
Care to share the code, and the error message? 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 -~----------~----~----~----~------~----~------~--~---

