So I ran into an issue where there was unwanted characters where spaces where suppose to be or nothing at all. Here is a sample of those characters.
 †“
Here is the fix that I implemented and it cleaned up the code right away.
echo "<META http-equiv='Content-Type' content='text/html; charset=UTF-8'>";