Unwanted Characters in XML handling in php

, ,

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'>";



Posted on

October 20, 2015

Submit a Comment

Your email address will not be published. Required fields are marked *