Use the iconv library to convert it before passing it into an XML extension:
$utf_8 = iconv('ISO-8859-1', 'UTF-8', $iso_8859_1);
Then convert it back when you are finished:
$iso_8859_1 = iconv('UTF-8', 'ISO-8859-1', $utf_8);
Copyright � 2010 Dotfluent Network. Use of this web site constitutes acceptance of the w3mentor Terms of Use and Privacy Policy.