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");
?>

The function below about Byte Order Mark is related to this function.

Page Comments (Click to edit)






[Click to add or edit comments])

Please prepend comments below including a date

Design by N.Design Studio, adapted by solidGone.org (version 1.0.0)
Have a nice day.