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 <[EMAIL PROTECTED]> wrote:
> On 10/2/07, Matt Lawrence <[EMAIL PROTECTED]> 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

_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[EMAIL PROTECTED]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to