[Catalyst] TT and UNICODE: Garbled special characters

Stefan Kühn ducdebreme at early-dance.de
Wed Sep 5 12:14:54 GMT 2007


On 9/5/07, Tobias Kremer <list at funkreich.de> wrote:
> > QUESTION: Catalyst generates Perl files in the computer's standard
> > encoding (which is cp1252). For *unicode best practice* it should be
> > in UTF-8 encoded. Do you agree?
>
> AFAIK Catalyst itself doesn't generate any Perl files at all. But maybe
> I'm just misunderstanding your question :)

What i meant, for example: if i create a controller, it creates Perl
files, such as these:
D:\dev\eclipse\CatUtf>script\catutf_create.pl controller TestController
 exists "D:\dev\eclipse\CatUtf\lib\CatUtf\Controller"
 exists "D:\dev\eclipse\CatUtf\t"
created "D:\dev\eclipse\CatUtf\lib\CatUtf\Controller\TestController.pm"
created "D:\dev\eclipse\CatUtf\t\controller_TestController.t"

Here, a Perl-File named "TestController.pm" has been created.
And as Daniel pointed out, it will be ASCII encoded.



More information about the Catalyst mailing list