[Petal] entity euro hurts

Michele Beltrame mb at italpro.net
Mon Apr 26 15:31:33 BST 2004


Hi!

> You have to use the Encode module to make sure your data is always UTF-8.
> 
> use Encode;
> my $string = $template->process (%stuff);
> $string = Encode::encode ('utf8', $string);

That's what I feared. ;-) I hoped there was a way to force Perl using UTF8
always, without having manaully encode every processed template. It seems
there isn't. :(

	Thanks, Michele.

-- 
Michele Beltrame
http://www.italpro.net/mb/
ICQ# 76660101 - e-mail: mb at italpro.net


More information about the Petal mailing list