Converting XML to UTF-8 or any other encoding
Just use the mb_convert_encoding() function as follows,
<?php
$xml_source_string = mb_convert_encoding($xml_source_string,"UTF-8");
?>
$xml_source_string = mb_convert_encoding($xml_source_string,"UTF-8");
?>
The function below about Byte Order Mark is related to this function.
[Click to add or edit comments])
Please prepend comments below including a date