cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gianugo Rabellino <g.rabell...@bibop.it>
Subject Re: MacRoman text encoding and C2
Date Tue, 28 Aug 2001 16:37:39 GMT
On Tue, Aug 28, 2001 at 05:19:24PM +0200, Fulvio Picecchi wrote:
> <?php
>    $XMLdoc_Latin1   = "Some characters: òàùèéì";
>    $XMLdoc_UTF-8    = iconv("ISO-8859-1", "UTF-8", $XMLdoc_Latin1);
>    $XMLdoc_MacRoman = iconv("ISO-8859-1", "MacRoman", $XMLdoc_Latin1);
> ?>
> Docs here: http://www.php.net/manual/en/ref.iconv.php
> I can try to find some solutions in C2 but I'm really a newbie.
> I'm really sorry Jesse to not be able to help you. And for speaking 
> about PHP in a wrong place ...

Might not be that wrong. While I do think that there might be a 
much better solution, there should be a sort of quick and dirty 
way to use PHP right inside Cocoon. Look at the PHP generator 
(it does not get compiled by default, it needs the PHP libraries).

Hope it helps,

-- 
Gianugo Rabellino

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message