On 9/5/07, Daniel McBrearty <danielmcbrearty gmail.com> wrote:
> how your editor is actually writing that u-with-umlaut
into the text
> file will also be a fatcor (it might be entering
ISO-8859-1 or UTF8).
>
> try using the appropriate x{ ... } way of writing the
char to see if
> this is your problem.
NOW i am trying the suggested way
* In controller test.pm > added the following (note the
German Umlaut)
sub index : Private {
my ( $self, $c ) = _;
$c->stash-> = "xFC"; #
<--- German Umlaut
$c->stash-> = 'test.tt2';
}
* made sure that encoding of controller "test.pm"
and view template
"test.tt2" is *ASCII*
* starting server and going to url : __character is still
garbled__
It seems to me that Template-Toolkit does no UTF-8-encoding
of the
outputted variables.
_______________________________________________
List: Catalyst lists.rawmode.org
Listinfo: ht
tp://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-
archive.com/catalyst lists.rawmode.org/
Dev site: http://dev.catalyst.per
l.org/
|