[Catalyst] Catalyst Unicode woes ctd.

Tatsuhiko Miyagawa miyagawa at gmail.com
Wed Oct 3 12:21:17 GMT 2007


Another way of telling TT to decode templates is to use
Template::Provider::Encoding on CPAN. It decodes templates as utf-8 by
default and you can declare per-tepmlate basis by [% USE encoding =
"latin-1" %] if needed (optional).

On 10/3/07, Matthias Zeichmann <matthias at volltext.net> wrote:
> On 10/2/07, Matt Lawrence <matt.lawrence at ymogen.net> wrote:
> > There are a few things you can try to remedy this, TT is supposed to
> > understand BOMs, so you might get the correct behaviour by opening
> > ins.tt in vim, doing ":set bomb" and then saving it.
>
> if i do that [0] its even getting worse:
> ------------->8--------------------------
> ümläüts inserted Nö!
> ------------->8--------------------------
>
> btw root/test[12345].tt has a BOM in them already, makes no difference
> if i remove it

-- 
Tatsuhiko Miyagawa



More information about the Catalyst mailing list