http://www.perlmonks.org?node_id=182305


in reply to Template Toolkit and non-english characters

Here are some past nodes on solving this problem of expecting ISO-8859-1 but getting UTF-8 back from XML parsers.

XML Parser encoding problem (was: XML::Parser)
XML encoding problems...
XML encoding ISO-8859-1

Regexp to convert high-bit (?) characters to character entites

Update: I posted those links because I recognize that your problem is converting from UTF8, but I don't know much about Template Toolkit. I thought they might help you solve the problem (rather than understand it). Hopefully one of the TT gurus will chime in.

Replies are listed 'Best First'.
Re: Re: Template Toolkit and non-english characters
by tosh (Scribe) on Jul 17, 2002 at 14:10 UTC
    There is no XML and no XML parsing going on in this script.

    This is only about Template Toolkit, not XML.

    No ideas? Anyone?

    Tosh