[Catalyst] TT and UNICODE: Garbled special characters

Bill Moseley moseley at hank.org
Wed Sep 5 18:34:22 GMT 2007


On Wed, Sep 05, 2007 at 01:14:54PM +0200, Stefan Kühn wrote:
> 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.

Is there anything in that file that is not seven bit ASCII?

-- 
Bill Moseley
moseley at hank.org




More information about the Catalyst mailing list