Mercurial > pub > Impl
diff Lib/IMPL/Web/TT/Document.pm @ 150:4369d5458bb6
minor fixes
author | wizard |
---|---|
date | Fri, 20 Aug 2010 08:28:43 +0400 |
parents | 60fd224f3e3c |
children | eb478083f72b |
line wrap: on
line diff
--- a/Lib/IMPL/Web/TT/Document.pm Wed Aug 18 03:14:57 2010 +0400 +++ b/Lib/IMPL/Web/TT/Document.pm Fri Aug 20 08:28:43 2010 +0400 @@ -11,6 +11,7 @@ use IMPL::Web::TT::Collection; use IMPL::Web::TT::Control; use Carp; +use Encode(); BEGIN { private property _provider => prop_all; @@ -77,6 +78,9 @@ this => $this, render => sub { $this->_process(@_); + }, + encode => sub { + Encode::encode('utf8',shift); } }, RECURSION => 1,