PHP XML file encountering problem
I am reading an XML file using fopen method, like following and displaying on my website:
$fh = fopen($myFile, 'r');
When I run it locally on Apache on Windows, then it displays fine but after uploading it on another Windows server running IIS, it is displaying some weird characters like:
’ is being displayed instead of ’
I tried using different encoding types like:
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
and
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
but result is the same. What is reason for this?








