Christoph Zwerschke wrote: > Filipe Sousa wrote: >> t = kid.Template('test.kid') >> t.title = 'olá' >> print t.serialize() > > You should use a unicode object here: > t.title = u'olá' > > Otherwise kid assumes this is ascii.
I see... Is it possible to change the default encoding? Thanks, Filipe Sousa
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________ kid-template-discuss mailing list kid-template-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kid-template-discuss