projects
/
gruntmaster-page.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66d79db
)
Use utf8::decode instead of utf8::encode in Base
author
Marius Gavrilescu
<marius@ieval.ro>
Wed, 26 Mar 2014 06:10:24 +0000
(08:10 +0200)
committer
Marius Gavrilescu
<marius@ieval.ro>
Wed, 26 Mar 2014 06:10:24 +0000
(08:10 +0200)
lib/Gruntmaster/Page/Base.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Gruntmaster/Page/Base.pm
b/lib/Gruntmaster/Page/Base.pm
index 99ca432732cfc9d8a9a27ba21e79752a01d2f726..6ed8fde6709a9f0107eb7e8e9333ade33dafd4d3 100644
(file)
--- a/
lib/Gruntmaster/Page/Base.pm
+++ b/
lib/Gruntmaster/Page/Base.pm
@@
-88,7
+88,7
@@
sub generate{
my $htc = HTML::Template::Compiled->new(scalarref => \$templates{$self}{$lang}, default_escape => 'HTML', use_perl => 1);
$self->_generate($htc, $lang, @args);
my $out = $htc->output;
- utf8::
en
code($out);
+ utf8::
de
code($out);
my $vary = 'Accept-Language, ' . $self->vary;
[200, ['Content-Type' => 'text/html', 'Content-Language' => $_[1], 'Vary' => $vary, 'X-Forever' => 1, 'Cache-Control' => 'max-age=' . $self->max_age], [ $out ] ]
}
This page took
0.010996 seconds
and
4
git commands to generate.