[Petal] Petal 2.01 Released

Jean-Michel Hiver jhiver at mkdoc.com
Wed Dec 10 15:34:59 GMT 2003


Hi Gang,

Here is a new version of Petal where hopefully all the encoding issues
should be sorted.

I have deprecated $Petal::ENCODE as Petal will now return results in
what is called 'Perl Internal Form', i.e. either a string in your locale
charset with the utf8 flag off, or a string in UTF-8 with the utf8 flag
on.

If you want to make sure that your data is properly converted to a
specific character set, you'll have to do it with the Encode::encode()
function. See L<Encode> for those who are interested.

$Petal::DECODE is still around for people who want to work with
templates in a specific character set.

Many thanks to Adrian Sampson's for his beautiful test :)

Best Regards,
-- 
Building a better web - http://www.mkdoc.com/
---------------------------------------------
Jean-Michel Hiver
jhiver at mkdoc.com  - +44 (0)114 255 8097
Homepage: http://www.webmatrix.net/


More information about the Petal mailing list