Re: [Repoze-dev] bfg chameleon unicode crash with wrapper views

2010-12-16 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/15/2010 10:18 PM, Iain Duncan wrote: Not sure where I'm supposed to ask this now, here? Pyramid list? I have view with a chameleon template that contains utf-8 unicode special chars. It renders fine when rendered on it's own from a view.

Re: [Repoze-dev] bfg chameleon unicode crash with wrapper views

2010-12-16 Thread Malthe Borch
Alternatively, enable implicit decoding using ``default_encoding=utf-8`` (in the template constructor). This is enabled on Plone, for instance. \malthe On 16 December 2010 14:47, Tres Seaver tsea...@palladion.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/15/2010 10:18 PM,

[Repoze-dev] bfg chameleon unicode crash with wrapper views

2010-12-15 Thread Iain Duncan
Not sure where I'm supposed to ask this now, here? Pyramid list? I have view with a chameleon template that contains utf-8 unicode special chars. It renders fine when rendered on it's own from a view. As soon as I wrap that view with a wrapper view, I get errors with the wrapper choking on the