I have 2 similar PHP pages, one displays the UK £ symbol correctly, the other displays a black diamond with a ? in it.
In order to diagnose the problem I cut the code down and they are now identical, but still display differently. How can that be??? This is the code `
<head>
<meta http-equiv="Content-Language" content="en-gb">
<meta http-equiv="Content-Type" content="text/html; charset=utf8">
</head>
<body>
<?php
echo '<p>';
echo "£"."123";
?>
</body>
</html>`
While working with the original code it seemed that I could fix one by removing the charset=utf8 but if I removed it from the other it prefixed the £ with a capital A with an accent.
What is happening here?