On Wed, Jan 8, 2014 at 7:45 AM, Dave Howorth <dhowo...@mrc-lmb.cam.ac.uk>wrote:
> > So it looks like all I need to do now is figure out how to tell > Template::Toolkit to do that when it sees Unicode data. > I'm not aware that TT ever does any encoding. You can tell TT how to decode templates, for example. In your TT config you should be able to add this to tell TT that your *templates* are in UTF-8 and need to be decoded when reading. ENCODING: UTF-8 But then you need to encode on output, of course. For Catalyst look at: http://search.cpan.org/dist/Catalyst-Runtime-5.90053/lib/Catalyst.pm#ENCODING http://search.cpan.org/dist/Catalyst-Runtime/lib/Catalyst/Plugin/Unicode/Encoding.pm -- Bill Moseley mose...@hank.org
_______________________________________________ List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/ Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk