[Dancer-users] Problem with PLACK
Alexis Sukrieh
sukria at sukria.net
Wed Jul 7 10:23:17 CEST 2010
Le 07/07/2010 08:37, Alex Kapranoff a écrit :
> Proper fix would be to apply this patch to your Dancer:
> diff --git a/lib/Dancer/Template/TemplateToolkit.pm
> b/lib/Dancer/Template/Templa
> index 0e092db..4bdb717 100644
> --- a/lib/Dancer/Template/TemplateToolkit.pm
> +++ b/lib/Dancer/Template/TemplateToolkit.pm
> @@ -19,6 +19,7 @@ sub init {
> my $tt_config = {
> ANYCASE => 1,
> ABSOLUTE => 1,
> + ENCODING => 'utf8',
> %{$self->config},
> };
>
> And then specify "charset: utf8" in config.yml.
>
> (to all: we should think about making charset: utf8 the default)
I agree, this should be fixed before we release 1.2
--
Alexis Sukrieh
More information about the Dancer-users
mailing list