| Christian Stocker 2004-08-04, 3:56 am |
| On Tue, 03 Aug 2004 18:31:23 +0100, Demian Turner <demian@phpkitchen.com> wrote:
> Hi all
>
> Pardon the beginner question, but given this thread [1] and the apparent
> inability of XML_Tree to output non iso-8859-1 encoded output, can I run
> my output xml string through iconv and get an acceptable format that
> will validate? ie,
>
> $xml = iconv('ISO-8859-1', 'UTF-8', $tree->get());
> // write to file
Should theoretically do it. As long as the <?xml ?> header encoding is
also correctly set.
chregu
>
> tia
>
> Demian
>
> [1] http://marc.theaimsgroup.com/?l=pea...37136532551&w=2
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71
http://www.bitflux.ch | chregu@bitflux.ch | gnupg-keyid 0x5CE1DECB
|